Skip to content

Commit 7012211

Browse files
committed
Fix
1 parent 794c4ed commit 7012211

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ jobs:
1919
cache: "pnpm"
2020
- name: Install dependencies
2121
run: |
22-
pnpm install
23-
npm install -g puppeteer
24-
puppeteer browsers install
25-
cd test && pnpm install
22+
pnpm install --frozen-lockfile
23+
pnpm run puppeteer-install
24+
cd test && pnpm install --frozen-lockfile
2625
- name: Build the extension
2726
run: pnpm build
2827
- name: Run tests

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"package": "plasmo package",
1515
"package:all": "pnpm build --target=chrome-mv3 && pnpm build --target=firefox-mv3 && pnpm package --target=chrome-mv3 && pnpm package --target=firefox-mv3",
1616
"format": "prettier --experimental-ternaries --write .",
17-
"build-dev-tools": "sh dev/build.sh"
17+
"build-dev-tools": "sh dev/build.sh",
18+
"puppeteer-install": "puppeteer browsers install"
1819
},
1920
"dependencies": {
2021
"@plasmohq/storage": "^1.10.0",

0 commit comments

Comments
 (0)