File tree Expand file tree Collapse file tree 1 file changed +26
-7
lines changed Expand file tree Collapse file tree 1 file changed +26
-7
lines changed Original file line number Diff line number Diff line change 1010 branches : [main]
1111
1212jobs :
13- lint :
14- name : Lint
13+ lint-js :
14+ name : Lint JS
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ - name : Lint JS
20+ run : npx --yes oxlint@latest -D perf
21+
22+ lint-package :
23+ name : Lint package
1524 runs-on : ubuntu-latest
1625 steps :
1726 - name : Checkout code
@@ -22,13 +31,23 @@ jobs:
2231 cache : npm
2332 - run : npm install --no-fund --no-audit --ignore-scripts
2433 - run : npm run build
25- - name : Lint JS
26- run : npx --yes oxlint@latest -D perf
27- - name : Check types
28- run : npm run check --if-present
29- - name : Lint package
34+ - name : Run publint
3035 run : npx --yes publint
3136
37+ check-types :
38+ name : Check types
39+ runs-on : ubuntu-latest
40+ steps :
41+ - name : Checkout code
42+ uses : actions/checkout@v4
43+ - name : Use Node.js
44+ uses : actions/setup-node@v4
45+ with :
46+ cache : npm
47+ - run : npm install --no-fund --no-audit --ignore-scripts
48+ - name : Check types
49+ run : npm run check
50+
3251 test :
3352 name : Unit tests
3453 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments