-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps, ci): Updates nyc and adds Coveralls step to CI
- Loading branch information
Joe Bottigliero
committed
Dec 31, 2020
1 parent
f6a7430
commit 55d283e
Showing
2 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,11 @@ on: | |
name: ci | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
node: [10, 12, 14] | ||
os: [ubuntu-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: git fetch --prune --unshallow | ||
|
@@ -21,15 +22,19 @@ jobs: | |
- run: node --version | ||
- run: npm install --engine-strict | ||
- run: npm test | ||
windows: | ||
runs-on: windows-latest | ||
- run: npm run coverage | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
flag-name: ${{matrix.os}}-node-${{ matrix.node }} | ||
parallel: true | ||
finish: | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: git fetch --prune --unshallow | ||
- run: git config --global user.name 'Actions' | ||
- run: git config --global user.email '[email protected]' | ||
- uses: actions/setup-node@v2 | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
node-version: 12 | ||
- run: npm install | ||
- run: npm test | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters