Skip to content

Commit

Permalink
build: adjust for PR comments and what was done in this other PR:
Browse files Browse the repository at this point in the history
  • Loading branch information
feywind committed Feb 7, 2020
1 parent 1c9377c commit 48bb055
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [push]
on: [push, pull_request]
name: ci
jobs:
test:
Expand All @@ -23,6 +23,15 @@ jobs:
node-version: 12
- run: npm ci
- run: npm run lint
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm run docs-test
license_check:
runs-on: ubuntu-latest
steps:
Expand All @@ -39,10 +48,6 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm install
- run: npm test
- run: npm run codecov
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecov@3 -t ${{ secrets.CODECOV_TOKEN }} --pipe

0 comments on commit 48bb055

Please sign in to comment.