Skip to content

Commit

Permalink
env: Nodejs version update to 22 (#343)
Browse files Browse the repository at this point in the history
* env: change to asdf from nvm

* env: add nodejs 20 to ci workflow

* env: update github action version

* env: add node version to build test
  • Loading branch information
JaeYeopHan authored Aug 14, 2024
1 parent d1a5a70 commit cbd76b0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
9 changes: 0 additions & 9 deletions .github/actions/setup-node/action.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18', '20', '22']
name: build
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: ./.github/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --immutable
- name: Build
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18', '20', '22']
name: build
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: ./.github/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --immutable
- name: Build
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18', '20']
name: ci
node: ['18', '20', '22']
name: CI (Node.js ${{ matrix.node }})
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --immutable
- name: Check Type
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 22.6.0

0 comments on commit cbd76b0

Please sign in to comment.