File tree Expand file tree Collapse file tree 1 file changed +4
-48
lines changed Expand file tree Collapse file tree 1 file changed +4
-48
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 lint :
14- name : Lint
15-
16- runs-on : ubuntu-latest
17-
18- steps :
19- - uses : actions/checkout@v3
20-
21- - name : Use Node.js LTS
22- uses : actions/setup-node@v3
23- with :
24- node-version : ' lts/*'
25- cache : npm
26-
27- - name : Install latest npm
28- run : npm install --global npm@latest
29-
30- - name : Install dependencies
31- run : npm ci
32-
33- - name : Lint
34- run : npm run lint
14+ uses : stylelint/.github/.github/workflows/lint.yml@main
3515
3616 test :
37- name : Test on Node.js ${{ matrix.node }} and ${{ matrix.os }}
38-
39- runs-on : ${{ matrix.os }}
40-
41- strategy :
42- fail-fast : false
43- matrix :
44- node : [12, 14, 16, 18]
45- os : [ubuntu-latest, windows-latest, macos-latest]
46-
47- steps :
48- - uses : actions/checkout@v3
49-
50- - name : Use Node.js ${{ matrix.node }}
51- uses : actions/setup-node@v3
52- with :
53- node-version : ${{ matrix.node }}
54- cache : npm
55-
56- - name : Install latest npm
57- run : npm install --global npm@latest
58-
59- - name : Install dependencies
60- run : npm ci
61-
62- - name : Test
63- run : npm test
17+ uses : stylelint/.github/.github/workflows/test.yml@main
18+ with :
19+ os : ' ["ubuntu-latest", "windows-latest", "macos-latest"]'
You can’t perform that action at this time.
0 commit comments