mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Use separate linter job.
This commit is contained in:
parent
4381222ae2
commit
c182d252b1
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -9,6 +9,16 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.x
|
||||
- run: npm ci --ignore-scripts
|
||||
- run: npm run lint
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -32,7 +42,6 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm run validate
|
||||
- run: npm run test:unit
|
||||
- name: Coveralls
|
||||
@ -43,12 +52,12 @@ jobs:
|
||||
parallel: true
|
||||
- run: npm run test:integration
|
||||
- run: npm run test:deploy
|
||||
finish:
|
||||
|
||||
coveralls:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@master
|
||||
- uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
parallel-finished: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user