Skip to content

Commit ce1dafc

Browse files
committed
fix: pnpm
1 parent c0058fb commit ce1dafc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/check-dist.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,24 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Setup Node
21+
- uses: pnpm/action-setup@v4
22+
name: Install pnpm
23+
with:
24+
version: 10
25+
run_install: false
26+
27+
- name: Install Node.js
2228
uses: actions/setup-node@v4
2329
with:
24-
node-version-file: .nvmrc
25-
cache: npm
30+
node-version: 20
31+
cache: 'pnpm'
2632

2733
- name: Install dependencies
28-
run: npm ci
34+
run: pnpm install
2935

3036
- name: Rebuild the dist/ directory
3137
run: |
32-
npm run build
38+
pnpm run build
3339
3440
- name: Compare the expected and actual dist/ directories
3541
run: |

0 commit comments

Comments
 (0)