From 00bb7972af325b1a8abb4eb98c8fbbad3f1a8d9c Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Mon, 9 Dec 2024 17:55:04 +0800 Subject: [PATCH] chore: use actions/setup-node@v4 --- .github/workflows/make-template.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make-template.yml b/.github/workflows/make-template.yml index abb4e79..fd1627a 100644 --- a/.github/workflows/make-template.yml +++ b/.github/workflows/make-template.yml @@ -21,9 +21,9 @@ jobs: rm -rf upload/.git upload/README.md upload/pnpm-lock.yaml upload/src/doc upload/.github/workflows/make-template.yml - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* - name: Setup pnpm uses: pnpm/action-setup@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b2bdd1..2f1c882 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,9 +39,9 @@ jobs: uses: actions/checkout@v4 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* - name: Setup pnpm uses: pnpm/action-setup@v4