Skip to content

Commit 765bfdb

Browse files
authored
[chore] update CI to only run linting once on ubuntu
1 parent 748a3b7 commit 765bfdb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ on:
1515

1616
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717
jobs:
18+
lint:
19+
name: "Lint"
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: lint
24+
run: npm run lint
25+
env:
26+
CI: true
27+
1828
test:
1929
name: 'Node ${{ matrix.node }} - ${{ matrix.os }}'
2030
runs-on: ${{ matrix.os }}-latest
@@ -31,10 +41,6 @@ jobs:
3141
node-version: ${{ matrix.node }}
3242
- name: install dependencies
3343
run: npm i
34-
- name: lint
35-
run: npm run lint
36-
env:
37-
CI: true
3844
- name: test
3945
run: npm test
4046
env:

0 commit comments

Comments
 (0)