Skip to content

Commit

Permalink
chore: bump node version in GitHub workflows (#372)
Browse files Browse the repository at this point in the history
* Upgrade setup-node action and node version

* Update .github/workflows/test.yml

Co-authored-by: tuyennhv <vutuyen2636@gmail.com>

---------

Co-authored-by: tuyennhv <vutuyen2636@gmail.com>
  • Loading branch information
ensi321 and twoeths authored May 2, 2024
1 parent d7191b8 commit 04816d4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: yarn
node-version: 18
node-version: 20
- run: yarn --immutable && yarn build && yarn generate

- name: Run benchmarks
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: yarn
node-version: '16'
node-version: '20'
- name: Bootstrap
run: yarn --immutable
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:

- run: corepack enable

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 16
node-version: 20
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.releases_created }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [16, 18]
node: [18, 20]
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
cache: yarn
Expand Down

0 comments on commit 04816d4

Please sign in to comment.