Commit | Line | Data |
---|---|---|
5e427b78 JB |
1 | name: Lint CI |
2 | ||
a0fd7630 JB |
3 | on: |
4 | push: | |
5 | branches-ignore: | |
6 | - master | |
7 | pull_request: | |
8 | branches: | |
9 | - master | |
5e427b78 JB |
10 | |
11 | jobs: | |
1d7b3acb | 12 | lint: |
d8fb4c44 JB |
13 | env: |
14 | CI: true | |
5e427b78 JB |
15 | |
16 | runs-on: ubuntu-latest | |
17 | ||
18 | strategy: | |
19 | matrix: | |
20 | node-version: [14.x] | |
21 | ||
22 | steps: | |
23 | - uses: actions/checkout@v2 | |
24 | - name: Use Node.js ${{ matrix.node-version }} | |
25 | uses: actions/setup-node@v1 | |
26 | with: | |
27 | node-version: ${{ matrix.node-version }} | |
d8fb4c44 JB |
28 | - name: npm install |
29 | run: npm ci | |
30 | - name: npm run lint | |
31 | run: npm run lint |