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