We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac3e9c6 commit cce54b0Copy full SHA for cce54b0
.github/workflows/coverage.yml
@@ -0,0 +1,18 @@
1
+name: coverage
2
+on: [push, pull_request]
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v1
8
+ - name: Use Node.js 10.x
9
+ uses: actions/setup-node@v1
10
+ with:
11
+ node-version: 14.x
12
+ - run: npm ci
13
+ - run: npm run coverage
14
+ - run: npm run coveralls
15
+ - name: Upload results
16
+ uses: coverallsapp/github-action@master
17
18
+ github-token: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/node.yml renamed to .github/workflows/test.yml
@@ -1,5 +1,5 @@
name: test
-on: [push]
jobs:
build:
runs-on: ubuntu-latest
@@ -13,6 +13,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- - run: npm test
+ - run: npm run lint && npm test
env:
CI: true
0 commit comments