From 5199719ab05be92ef7a3b155d306ec6f5e583b4f Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Mon, 10 Feb 2025 01:07:44 +0800 Subject: [PATCH] chore: update workflows --- .github/workflows/lint.yaml | 2 +- .github/workflows/test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index f68927c..124d7a0 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v4 - name: Install pnpm - run: corepack enable + run: npm i -g --force corepack && corepack enable - name: Set node version to 18 uses: actions/setup-node@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2419cd6..1edc68d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v4 - name: Install pnpm - run: corepack enable + run: npm i -g --force corepack && corepack enable - name: Set node version to 18 uses: actions/setup-node@v3