Skip to content

Commit 688ef58

Browse files
committed
ci: run with npm
1 parent a923028 commit 688ef58

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/ci.yml

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

1515
steps:
1616
- uses: actions/checkout@v3
17-
- run: corepack enable
1817
- uses: actions/setup-node@v3
1918
with:
20-
node-version: 18
21-
cache: 'pnpm'
19+
node-version: 16
2220

2321
- name: 📦 Install dependencies
24-
run: pnpm install
22+
run: npm ci
2523

2624
- name: 🔠 Lint project
27-
run: pnpm lint
25+
run: npm run lint
2826

2927
test:
3028
runs-on: ubuntu-latest
3129

3230
steps:
3331
- uses: actions/checkout@v3
34-
- run: corepack enable
3532
- uses: actions/setup-node@v3
3633
with:
37-
node-version: 18
38-
cache: 'pnpm'
34+
node-version: 16
3935

4036
- name: 📦 Install dependencies
41-
run: pnpm install
37+
run: npm ci
4238

4339
- name: 🛠 Build project
44-
run: pnpm build
40+
run: npm run build
4541

4642
- name: 💪 Test types
47-
run: pnpm test:types
43+
run: npm run test:types
4844

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

0 commit comments

Comments
 (0)