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