From a62e15e78dd7c43f836fbf8a53e9542365379508 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 21 May 2024 01:58:19 +0700 Subject: [PATCH] fix: node --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d0e39f..3c77852 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,7 +53,10 @@ jobs: steps: - name: Install deps for alpine run: | - apk add --update nodejs-current npm git curl + apk add --update nodejs npm git curl + - uses: actions/setup-node@v4 + with: + node-version: 20 - name: Checkout uses: actions/checkout@v4.1.6 - name: Install dependencies @@ -114,7 +117,10 @@ jobs: steps: - name: Install deps for alpine run: | - apk add --update nodejs-current npm git curl + apk add --update nodejs npm git curl + - uses: actions/setup-node@v4 + with: + node-version: 20 - name: Checkout uses: actions/checkout@v4.1.6 - name: Install dependencies