Skip to content

Commit b6ed9fc

Browse files
committed
ci: back to pnpm
1 parent 1f97ced commit b6ed9fc

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v3
17+
- run: corepack enable
1718
- uses: actions/setup-node@v3
1819
with:
1920
node-version: 16
21+
cache: 'pnpm'
2022

2123
- name: 📦 Install dependencies
22-
run: npm install
24+
run: pnpm install --frozen-lockfile
2325

2426
- name: 🔠 Lint project
25-
run: npm run lint
27+
run: pnpm lint
2628

2729
test:
2830
runs-on: ubuntu-latest
2931

3032
steps:
3133
- uses: actions/checkout@v3
34+
- run: corepack enable
3235
- uses: actions/setup-node@v3
3336
with:
3437
node-version: 16
38+
cache: 'pnpm'
3539

3640
- name: 📦 Install dependencies
37-
run: npm install
41+
run: pnpm install --frozen-lockfile
3842

3943
- name: 🛠 Build project
40-
run: npm run build
44+
run: pnpm build
4145

4246
- name: 💪 Test types
43-
run: npm run test:types
47+
run: pnpm test:types
4448

4549
- name: 🧪 Test project
46-
run: npm run test
50+
run: pnpm test

0 commit comments

Comments
 (0)