Skip to content

Commit d196984

Browse files
authored
Update ci.yml
1 parent 522cbd1 commit d196984

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
11
name: CI
2-
3-
on:
4-
push:
5-
branches: [master]
6-
pull_request:
7-
branches: [master]
2+
on: [ push, pull_request ]
83

94
jobs:
105
lint:
11-
name: Lint
126
runs-on: ubuntu-latest
137
steps:
14-
- name: Checkout
15-
uses: actions/[email protected]
16-
- name: Install Node.js
17-
uses: actions/[email protected]
18-
- name: Install Packages
19-
run: npm install
8+
- uses: actions/[email protected]
9+
- uses: actions/[email protected]
10+
- run: npm install
2011
env:
2112
CI: true
22-
- name: Lint
23-
run: npm run lint -- --quiet
13+
- run: npm run lint --if-present -- --quiet
2414

0 commit comments

Comments
 (0)