use query selectors that should survive class hash changes for fp liv… #66
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" | |
| on: | |
| push: | |
| branches: ["*"] | |
| pull_request: | |
| jobs: | |
| build: | |
| name: "Build" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v1 | |
| - uses: pnpm/action-setup@v4 | |
| name: Install pnpm | |
| with: | |
| version: 9 | |
| run_install: false | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Compile and prepare for packing | |
| run: pnpm build | |
| - name: "web-ext build (chrome)" | |
| id: web-ext-build-chrome | |
| uses: kewisch/action-web-ext@v1 | |
| with: | |
| cmd: build | |
| source: "dist/chrome" | |
| filename: "{name}-chrome-{version}.zip" | |
| - name: "web-ext build (firefox)" | |
| id: web-ext-build-firefox | |
| uses: kewisch/action-web-ext@v1 | |
| with: | |
| cmd: build | |
| source: "dist/firefox" | |
| filename: "{name}-firefox-{version}.zip" | |
| - name: "Upload Chrome Artifact" | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "Packaged Chrome Extension" | |
| path: ${{ steps.web-ext-build-chrome.outputs.target }} | |
| - name: "Upload Firefox Artifact" | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "Packaged Firefox Extension" | |
| path: ${{ steps.web-ext-build-firefox.outputs.target }} |