Skip to content

Commit adefb11

Browse files
workflow(pr): improve (#203)
1 parent c26adb4 commit adefb11

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/pr.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ jobs:
1919
egress-policy: audit
2020

2121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
2223
- name: Setup Node.js
2324
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
2425
with:
2526
node-version-file: '.nvmrc'
27+
cache: 'npm'
28+
2629
- name: Install dependencies
2730
run: npm ci
31+
2832
- name: Lint
29-
run: npm run lint
33+
run: node --run lint
34+
3035
- name: Format
31-
run: npm run format
32-
- name: Test
33-
run: npm test
36+
run: node --run format
37+
3438
- name: Test with coverage
35-
run: npm run test:coverage
39+
run: node --run test:coverage

0 commit comments

Comments
 (0)