diff options
| author | MohamedBassem <me@mbassem.com> | 2024-08-18 23:07:02 +0300 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-08-18 23:07:02 +0300 |
| commit | 485276e46caf51b6671a13cdd55f95342f12864b (patch) | |
| tree | 5a95a5d65f0fcf4d7c234dade71e5ec963af2c08 /.github | |
| parent | 99b24bcb8a0ce97fdbadef561359ceb089ae5e77 (diff) | |
| download | karakeep-485276e46caf51b6671a13cdd55f95342f12864b.tar.zst | |
fix(extension): Upgrade crxjs to 2.0 to add support for firefox
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/extension.yml | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/extension.yml b/.github/workflows/extension.yml index 0fc8d6b7..4a037b12 100644 --- a/.github/workflows/extension.yml +++ b/.github/workflows/extension.yml @@ -15,12 +15,24 @@ jobs: - name: Setup uses: ./tooling/github/setup - - name: Build the extension + - name: Build the extension (chrome) working-directory: apps/browser-extension - run: pnpm run build + run: pnpm run build --outDir dist-chrome - - name: Upload Extension Archive + - name: Build the extension (firefox) + env: + VITE_BUILD_FIREFOX: true + working-directory: apps/browser-extension + run: pnpm run build --outDir dist-firefox + + - name: Upload Extension Archive (chrome) + uses: actions/upload-artifact@v4 + with: + name: hoarder-extension-chrome + path: apps/browser-extension/dist-chrome/* + + - name: Upload Extension Archive (firefox) uses: actions/upload-artifact@v4 with: - name: hoarder-extension - path: apps/browser-extension/dist/* + name: hoarder-extension-firefox + path: apps/browser-extension/dist-firefox/* |
