Bulk upload removed for production release #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| # Run this workflow every time a new commit pushed to your repository | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| name: Build and release latest snapshot | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set version | |
| run: echo "latest" > version.txt | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18.x' | |
| - name: Setup build tools | |
| run: npm install -g yo bower grunt-cli generator-karma generator-angular | |
| - name: Build with Grunt | |
| run: npm install && bower install --allow-root --force-latest && grunt build --force | |
| - name: Git tag | |
| run: git tag -f snapshot && git push --tags -f | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| tag: snapshot | |
| name: latest-snapshot | |
| prerelease: true | |
| gzip: false | |
| allow_override: true | |
| files: frontend-latest.tar.gz |