From 98fef99813f1d58b02bc8fbf3e3aaba5797beabb Mon Sep 17 00:00:00 2001 From: Seokju Na Date: Sun, 10 May 2026 22:41:45 +0900 Subject: [PATCH 1/3] upgrade node version to 24 and drop 18 --- .github/workflows/ci.yml | 17 +++++++++++------ .node-version | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae4d7a6..de2c426 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,8 +190,9 @@ jobs: target: "aarch64-apple-darwin" architecture: "arm64" node: - - "18" - - "20" + - '20' + - '24' + - '26' runs-on: ${{ matrix.settings.host }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -225,8 +226,9 @@ jobs: - host: windows-latest target: x86_64-pc-windows-msvc node: - - '18' - '20' + - '24' + - '26' runs-on: ${{ matrix.settings.host }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -256,8 +258,9 @@ jobs: fail-fast: false matrix: node: - - '18' - '20' + - '24' + - '26' runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -287,8 +290,9 @@ jobs: fail-fast: false matrix: node: - - '18' - '20' + - '24' + - '26' runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -320,8 +324,9 @@ jobs: fail-fast: false matrix: node: - - '18' - '20' + - '24' + - '26' runs-on: ubuntu-24.04-arm steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.node-version b/.node-version index 442c758..eefb690 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -22.20.0 +24.15.0 \ No newline at end of file From 4e8e880156fb4eb2f77a225c8f7fcdeef7125b5f Mon Sep 17 00:00:00 2001 From: Seokju Na Date: Tue, 12 May 2026 23:32:14 +0900 Subject: [PATCH 2/3] enable corepack --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 422096a..dc014e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,6 +180,9 @@ jobs: check-latest: true cache: yarn architecture: ${{ matrix.settings.architecture }} + - name: Enable corepack + if: ${{ matrix.node == '26' }} + run: npm install -g corepack - name: Install dependencies run: yarn install --immutable - name: Download artifacts @@ -220,6 +223,9 @@ jobs: check-latest: true cache: yarn architecture: ${{ matrix.architecture }} + - name: Enable corepack + if: ${{ matrix.node == '26' }} + run: npm install -g corepack - name: Install dependencies run: yarn install --immutable - name: Download artifacts @@ -276,6 +282,9 @@ jobs: console.log('IMAGE=node:${{ matrix.node }}-slim') } " >> $GITHUB_OUTPUT + - name: Enable corepack + if: ${{ matrix.node == '26' }} + run: npm install -g corepack - name: Install dependencies run: | yarn config set --json supportedArchitectures.cpu '["current", "arm64", "x64", "arm"]' From 710a87b185a9ef09ee5fe6ff9c7dc34ffca983d8 Mon Sep 17 00:00:00 2001 From: Seokju Na Date: Wed, 13 May 2026 00:07:37 +0900 Subject: [PATCH 3/3] fix --- .github/workflows/ci.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc014e1..892c6d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,9 +180,6 @@ jobs: check-latest: true cache: yarn architecture: ${{ matrix.settings.architecture }} - - name: Enable corepack - if: ${{ matrix.node == '26' }} - run: npm install -g corepack - name: Install dependencies run: yarn install --immutable - name: Download artifacts @@ -223,9 +220,6 @@ jobs: check-latest: true cache: yarn architecture: ${{ matrix.architecture }} - - name: Enable corepack - if: ${{ matrix.node == '26' }} - run: npm install -g corepack - name: Install dependencies run: yarn install --immutable - name: Download artifacts @@ -282,9 +276,6 @@ jobs: console.log('IMAGE=node:${{ matrix.node }}-slim') } " >> $GITHUB_OUTPUT - - name: Enable corepack - if: ${{ matrix.node == '26' }} - run: npm install -g corepack - name: Install dependencies run: | yarn config set --json supportedArchitectures.cpu '["current", "arm64", "x64", "arm"]' @@ -310,4 +301,7 @@ jobs: with: image: ${{ steps.docker.outputs.IMAGE }} options: '-v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }} --platform ${{ steps.docker.outputs.PLATFORM }}' - run: yarn vitest run + run: | + npm install -g corepack + yarn install + yarn vitest run