From 6fe50cb0c59d079881f56624733a2ff1b8ded3d2 Mon Sep 17 00:00:00 2001 From: ModyQyW Date: Mon, 11 Dec 2023 09:49:08 +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 cb18ede..4d3b207 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: corepack enable