Add Firefox support #4
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 QuickFill" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'README.md' | |
| - '.gitignore' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 8 | |
| - name: Use Node.js 18.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18.x | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build and Package Chrome | |
| run: pnpm build && pnpm package | |
| - name: Build and Package Firefox | |
| run: pnpm build:firefox && pnpm package:firefox | |
| - name: Create / Update GitHub Release (Free Distribution) | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: latest | |
| name: QuickFill Production Build | |
| body: | | |
| ## ⚡ QuickFill Production Build | |
| This release contains the latest builds for both **Chrome** and **Firefox**. | |
| ### 🛠 How to install (100% Free): | |
| #### For Chrome: | |
| 1. Download `QuickFill-Production.zip` (Chrome build). | |
| 2. Extract to a folder. | |
| 3. Go to `chrome://extensions/` and enable **Developer Mode**. | |
| 4. Click **Load Unpacked** and select the folder. | |
| #### For Firefox: | |
| 1. Download `QuickFill-Production-Firefox.zip` (Firefox build). | |
| 2. Go to `about:debugging#/runtime/this-firefox` in Firefox. | |
| 3. Click **Load Temporary Add-on...** | |
| 4. Select the `.zip` file directly. | |
| *Note: Firefox temporary add-ons are removed when the browser restarts. For permanent use, sideloading on Firefox requires the 'Developer Edition' or 'Nightly' version.* | |
| files: | | |
| build/chrome-mv3-prod.zip | |
| build/firefox-mv2-prod.zip | |
| draft: false | |
| prerelease: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |