Skip to content

Commit

Permalink
ci: adapt to wxt
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakuraMizu committed Jun 25, 2024
1 parent 6539fcd commit 7a081e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -14,26 +14,26 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build Chrome version
run: yarn build:chrome
run: yarn zip:chrome
- name: Upload Chrome version
uses: actions/upload-artifact@v4
with:
name: chrome
path: |
dist/
.output/chrome-mv3/
stats.html
- name: Build Firefox version
run: yarn build:firefox
run: yarn zip:firefox
- name: Upload Firefox version
uses: actions/upload-artifact@v4
with:
name: firefox
path: |
dist/
.output/firefox-mv3/
stats.html
- name: Upload Zip version
- name: Upload Zip files
uses: actions/upload-artifact@v4
with:
name: zip-files
path: |
dist-zip/
.output/*.zip
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ lerna-debug.log*

node_modules
.output
dist-zip
stats.html
stats-*.json
.wxt
Expand Down

0 comments on commit 7a081e6

Please sign in to comment.