-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update workflows to include node 16
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | ||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
node-version: [12.x, 14.x] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -30,24 +30,24 @@ jobs: | |
- run: yarn setup | ||
- run: yarn dev-utils doc-index | ||
- run: yarn lint | ||
- run: yarn test -i | ||
- run: yarn test | ||
|
||
build_node_14: | ||
# only want to use codecov for node 14 | ||
name: Build Using Node 14 | ||
# only want to use codecov for node 16 | ||
name: Build Using Node 16 | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'ci skip')" | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js 14 | ||
- name: Use Node.js 16 | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 14 | ||
node-version: 16 | ||
cache: yarn | ||
- run: yarn | ||
- run: yarn setup | ||
- run: yarn dev-utils doc-index | ||
- run: yarn lint | ||
- run: yarn test -i --coverage | ||
- run: yarn test --coverage | ||
- run: npx codecov -t ${{ secrets.CODECOV_TOKEN }} |
f756b92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: