From 73890c1a9a55a18a62bd01c3e1a97420d6de8566 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 21 May 2024 02:00:42 +0700 Subject: [PATCH] fix: link node --- .github/workflows/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c77852..169d090 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,9 +54,7 @@ jobs: - name: Install deps for alpine run: | apk add --update nodejs npm git curl - - uses: actions/setup-node@v4 - with: - node-version: 20 + ln -s /usr/bin/nodejs /usr/bin/node - name: Checkout uses: actions/checkout@v4.1.6 - name: Install dependencies @@ -118,9 +116,7 @@ jobs: - name: Install deps for alpine run: | apk add --update nodejs npm git curl - - uses: actions/setup-node@v4 - with: - node-version: 20 + ln -s /usr/bin/nodejs /usr/bin/node - name: Checkout uses: actions/checkout@v4.1.6 - name: Install dependencies