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 10
10
branches : [main]
11
11
12
12
jobs :
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
15
24
runs-on : ubuntu-latest
16
25
steps :
17
26
- name : Checkout code
@@ -22,13 +31,23 @@ jobs:
22
31
cache : npm
23
32
- run : npm install --no-fund --no-audit --ignore-scripts
24
33
- 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
30
35
run : npx --yes publint
31
36
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
+
32
51
test :
33
52
name : Unit tests
34
53
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments