Skip to content

Commit

Permalink
chore: add node 20 to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 2, 2023
1 parent bc39598 commit a0be589
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Prepare Environment
run: |
yarn install
Expand All @@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -60,7 +60,7 @@ jobs:
env:
CI: true
- name: Send coverage
if: matrix.node-version == '14.x'
if: matrix.node-version == '18.x'
uses: codecov/codecov-action@v3

release:
Expand All @@ -79,10 +79,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Check release is desired
id: do-publish
run: |
Expand Down Expand Up @@ -136,10 +136,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Prepare Environment
run: |
yarn install
Expand All @@ -163,10 +163,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Prepare Environment
run: |
yarn install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -44,10 +44,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: Check release is desired
id: do-publish
run: |
Expand Down

0 comments on commit a0be589

Please sign in to comment.