Skip to content

Commit 04af013

Browse files
committed
updated test workflow
1 parent f22f2ad commit 04af013

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/unit-test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@ jobs:
1111
- name: Checkout code
1212
uses: actions/checkout@v4
1313

14+
- name: Setup pnpm
15+
uses: pnpm/action-setup@v4
16+
with:
17+
version: 10.28.0 # or your local pnpm version
18+
1419
- name: Set up Node.js
1520
uses: actions/setup-node@v4
1621
with:
1722
node-version: '22.x'
1823
cache: 'pnpm' # optional but recommended
1924

20-
- name: Setup pnpm
21-
uses: pnpm/action-setup@v4
22-
with:
23-
version: 10.28.0 # or your local pnpm version
24-
run_install: false
25-
2625
- name: Install dependencies for all plugins
2726
run: |
2827
NODE_ENV=PREPACK_MODE npm run bootstrap

0 commit comments

Comments
 (0)