name: "Releases" on: workflow_dispatch: push: tags: - 'v*' jobs: main: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set node version uses: actions/setup-node@v3 with: node-version: '18.x' - name: Install run: | npm install npm run setheapsize - name: Lint run: npx grunt lint - name: Unit Tests run: | npm test npm run testnodeconsumer - name: Production Build if: success() run: npx grunt prod - name: Upload Release Assets if: success() id: upload-release-assets uses: https://gitea.com/actions/release-action@main with: files: |- file: build/prod/*.zip api_key: '${{secrets.RELEASE_TOKEN}}'