Skip to content

Commit

Permalink
add CI job for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Feb 10, 2025
1 parent 2692a66 commit d879e20
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,29 @@ jobs:

- run: echo "_REV=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

# MV2
# MV3 chrome

- run: rm -rf dist && pnpm build-mv2
- run: rm -rf dist && pnpm build-chrome-mv3
- uses: actions/upload-artifact@v4
with:
name: 'stylus-mv2-${{ env._VER }}-${{ env._REV }}'
name: 'stylus-chrome-mv3-${{ env._VER }}-${{ env._REV }}'
path: 'dist/*'
if-no-files-found: error

# MV3 chrome
# MV2 firefox

- run: rm -rf dist && pnpm build-chrome-mv3
- run: rm -rf dist && pnpm build-firefox
- uses: actions/upload-artifact@v4
with:
name: 'stylus-chrome-mv3-${{ env._VER }}-${{ env._REV }}'
name: 'stylus-firefox-mv2-${{ env._VER }}-${{ env._REV }}'
path: 'dist/*'
if-no-files-found: error

# MV2

- run: rm -rf dist && pnpm build-mv2
- uses: actions/upload-artifact@v4
with:
name: 'stylus-mv2-${{ env._VER }}-${{ env._REV }}'
path: 'dist/*'
if-no-files-found: error

0 comments on commit d879e20

Please sign in to comment.