Skip to content

Commit

Permalink
chore: update workflows to include node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Oct 18, 2021
1 parent 4aa89de commit f756b92
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/checkout@v2.3.5
Expand All @@ -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/checkout@v2.3.5

- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v2.4.1
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 }}

1 comment on commit f756b92

@vercel
Copy link

@vercel vercel bot commented on f756b92 Oct 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.