Skip to content
Permalink
Browse files

Update nodejs.yml adding artifacts (#2)

  • Loading branch information...
marcomontalbano committed Aug 28, 2019
1 parent 0132384 commit 2991b9a04ef0a3b0d52debd8581a5cce8450e75e
Showing with 11 additions and 2 deletions.
  1. +11 −2 .github/workflows/nodejs.yml
@@ -17,10 +17,19 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
- name: Project setup `npm install && npm run build`
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
- name: Run `test`
run: npm test

- name: Run `coverage`
run: npm run coverage
- name: Upload `coverage` artifact
uses: actions/upload-artifact@v1
with:
name: coverage
path: coverage/lcov-report

0 comments on commit 2991b9a

Please sign in to comment.
You can’t perform that action at this time.