Skip to content

Commit bc18711

Browse files
committed
Try moving lint into its own workflow so it's not blocking any tests.
1 parent 7a1a23f commit bc18711

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

.github/workflows/lint.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest]
12+
node-version: [12]
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Node ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
21+
- name: Install deps
22+
run: npm install
23+
24+
- name: Lint
25+
run: npm run ci:lint

.github/workflows/test.yml

-5
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ jobs:
4646
- name: Install deps
4747
run: npm install
4848

49-
- name: Lint
50-
run: npm run ci:lint
51-
# Don't run lint a hundred times, also it breaks on windows.
52-
if: matrix.python-version == 3.6 && matrix.node-version == 12 && matrix.os == 'ubuntu-latest'
53-
5449
- name: Test
5550
run: npm run test
5651
env:

0 commit comments

Comments
 (0)