Skip to content

Commit 89ab2ab

Browse files
committed
Run lint before test
1 parent f348d04 commit 89ab2ab

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
name: "Test"
1+
name: "Lint and Test"
22

3-
on:
4-
pull_request:
5-
paths:
6-
- "!*.MD"
3+
on: pull_request
74

85
jobs:
96
release:
10-
name: Build and run test
7+
name: Run lint and test
118
runs-on: ubuntu-latest
129
strategy:
1310
matrix:
@@ -21,6 +18,7 @@ jobs:
2118
node-version: ${{ matrix.node-version }}
2219
registry-url: "https://registry.npmjs.org"
2320
- run: yarn install
21+
- run: yarn lint
2422
- run: yarn test
2523
env:
2624
NODE_ENV: test

0 commit comments

Comments
 (0)