From a532d5e57e72af9c555a2d0a18fc4d444deaa71a Mon Sep 17 00:00:00 2001 From: ModyQyW Date: Mon, 13 Nov 2023 13:52:10 +0800 Subject: [PATCH] ci: update --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/release.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab1cda7..06c5273 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,11 +12,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version-file: ".nvmrc" cache: pnpm registry-url: https://registry.npmjs.org - run: corepack enable @@ -27,11 +27,11 @@ jobs: typecheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version-file: ".nvmrc" cache: pnpm registry-url: https://registry.npmjs.org - run: corepack enable @@ -41,11 +41,11 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version-file: ".nvmrc" cache: pnpm registry-url: https://registry.npmjs.org - run: corepack enable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3da009..448988b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version-file: ".nvmrc" cache: pnpm registry-url: https://registry.npmjs.org - run: pnpm install