Skip to content

Commit ed87244

Browse files
committed
fix pnpm rebuild CICD 3
1 parent c150b07 commit ed87244

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ jobs:
5252
sed -i 's/"version" *: *"\(.*\)"/"version": "\1-'$(git rev-parse HEAD)'"/g' package.json
5353
5454
- name: Install packages
55-
run:
56-
- pnpm install
57-
- pnpm rebuild
58-
55+
run: pnpm i && pnpm rebuild puppeteer
5956

6057
- name: Build
6158
run: pnpm run build

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727
- name: Install pnpm
2828
run: npm install -g pnpm
2929
- name: Install packages
30-
run:
31-
- pnpm install
32-
- pnpm rebuild puppeteer
30+
run: pnpm install && pnpm rebuild puppeteer
3331
- name: Build packages
3432
run: pnpm run build
3533
- name: === Linting ===

0 commit comments

Comments
 (0)