Skip to content

Commit 92612c8

Browse files
committed
fix lint script
1 parent 7e86e49 commit 92612c8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ jobs:
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v6
19+
- name: Use Node.js
20+
uses: actions/setup-node@v6
21+
uses: actions/setup-node@v6
22+
- run: npm install --no-fund --no-audit --ignore-scripts
1923
- name: Lint JS
20-
run: npx --yes oxlint@latest -D perf
24+
run: npm run lint
2125

2226
check-types:
2327
name: Check types
@@ -27,8 +31,6 @@ jobs:
2731
uses: actions/checkout@v6
2832
- name: Use Node.js
2933
uses: actions/setup-node@v6
30-
with:
31-
cache: npm
3234
- run: npm install --no-fund --no-audit --ignore-scripts
3335
- name: Check types
3436
run: npm run check
@@ -40,8 +42,6 @@ jobs:
4042
- uses: actions/checkout@v6
4143
- name: Use Node.js
4244
uses: actions/setup-node@v6
43-
with:
44-
cache: npm
4545
- run: npm install --no-fund --no-audit --ignore-scripts
4646
- run: npm run build
4747
- run: npm test

0 commit comments

Comments
 (0)