chore: bump version to 1.5.0 & minor refactor in the metadata helper … #17
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: Build Browser Extensions | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .tool-versions | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build Chrome/Edge Extension | |
| run: yarn build:chrome-edge | |
| - name: Build Firefox Extension | |
| run: yarn build:firefox | |
| - name: Create dist directory | |
| run: mkdir -p dist | |
| - name: Zip Chrome/Edge extension | |
| run: | | |
| cd dist_chrome_edge | |
| zip -r ../dist/extension-chrome-edge.zip ./* | |
| - name: Zip Firefox extension | |
| run: | | |
| cd dist_firefox | |
| zip -r ../dist/extension-firefox.zip ./* | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: browser-extensions | |
| path: | | |
| dist/extension-chrome-edge.zip | |
| dist/extension-firefox.zip |