File tree 1 file changed +35
-2
lines changed 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change 20
20
" ubuntu-latest" ,
21
21
" macOS-latest"
22
22
]
23
- node-version : [18.x, 20.x, 22.5.1 ]
23
+ node-version : [18.x, 20.x, 22.x ]
24
24
# See supported Node.js release schedule
25
25
# at https://nodejs.org/en/about/releases/
26
26
36
36
- name : Install dependencies
37
37
run : npm ci --verbose
38
38
39
+ - uses : actions/upload-artifact@master
40
+ with :
41
+ name : dependencies-dist-${{ matrix.os }}-${{ matrix.node-version }}
42
+ path : node_modules
43
+
44
+ Lint :
45
+ runs-on : ubuntu-latest
46
+ strategy :
47
+ matrix :
48
+ os : [
49
+ " windows-latest" ,
50
+ " ubuntu-latest" ,
51
+ " macOS-latest"
52
+ ]
53
+ node-version : [18.x, 20.x, 22.x]
54
+ needs : build
55
+ steps :
56
+ - name : Checkout repository
57
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
58
+
59
+ - name : Artifacts
60
+ uses : actions/download-artifact@master
61
+ with :
62
+ name : dependencies-dist-${{ matrix.os }}-${{ matrix.node-version }}
63
+ path : node_modules
64
+
39
65
- name : Lint
40
- run : npm run lint
66
+ run : |
67
+ pwd
68
+ ls -alh .
69
+ ls -alh node_modules
70
+ ls -alh node_modules/.bin
71
+ chmod +x node_modules/.bin/*
72
+ ls -alh node_modules/.bin
73
+ npm run lint
41
74
42
75
- name : Run the tests
43
76
run : npm run jest:ci
You can’t perform that action at this time.
0 commit comments