Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger workflow for PR events + separate steps #38

Merged
merged 1 commit into from
Oct 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: lint-build-test

on: [push]
on: [push, pull_request]

jobs:
build:
Expand All @@ -17,12 +17,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, build, and test
- name: npm install
run: npm ci
- name: Check lint
run: npm run lint
- name: Check build
run: npm run build
- name: Check unit & integration tests
run: npm run test
- name: Run & publish coverage report
run: |
npm ci
npm run lint
npm run build
npm run test
npm run coverageReport
bash <(curl -s https://codecov.io/bash)
env:
Expand Down