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