fix: add bridge token auto-generation when enabling bridge mode #43
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./tuneport-extension | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js 18.x | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18.x | |
| cache: 'npm' | |
| cache-dependency-path: tuneport-extension/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build GitHub Version | |
| run: npm run build:github | |
| - name: Build Chrome Version | |
| run: npm run build:chrome | |
| - name: Build Firefox Version | |
| run: npm run build:firefox | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: | | |
| tuneport-extension/tuneport-github-*.zip | |
| tuneport-extension/tuneport-chrome-*.zip | |
| tuneport-extension/tuneport-firefox-*.zip | |
| draft: false | |
| prerelease: false | |
| generate_release_notes: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |