GitHub action: properly separate different steps in jobs
[e-mobility-charging-stations-simulator.git] / .github / workflows / lint.yml
CommitLineData
5e427b78
JB
1name: Lint CI
2
3on: [pull_request, push]
4
5jobs:
1d7b3acb 6 lint:
d8fb4c44
JB
7 env:
8 CI: true
5e427b78
JB
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 }}
d8fb4c44
JB
22 - name: npm install
23 run: npm ci
24 - name: npm run lint
25 run: npm run lint