From cbddd85fe25241a23fad8c95eafa8524841d22c2 Mon Sep 17 00:00:00 2001 From: magicdawn Date: Fri, 5 Jul 2024 16:47:15 +0800 Subject: [PATCH] ci: update actions dep version & fix pnpm version(corepack) & node version lts/* --- .github/workflows/ci.yml | 9 ++++----- .github/workflows/sync-tag-to-release.yml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db62651..505b1ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,14 +8,13 @@ jobs: unit-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 - with: { version: 8 } + - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: lts/* cache: 'pnpm' - run: pnpm install diff --git a/.github/workflows/sync-tag-to-release.yml b/.github/workflows/sync-tag-to-release.yml index db0b977..8b7f645 100644 --- a/.github/workflows/sync-tag-to-release.yml +++ b/.github/workflows/sync-tag-to-release.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: lts/* cache: 'pnpm' # 1. publish local