From f5fb6f6cb7f21d53a0089a6bf1c5c8aefcef0cbd Mon Sep 17 00:00:00 2001 From: Windson97 Date: Wed, 9 Oct 2024 13:15:02 +0800 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 89f4148..0777e8a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,14 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4.0.0 + with: + version: 9.12.1 - uses: actions/setup-node@v4.0.4 with: node-version: 22.9.0 registry-url: https://registry.npmjs.org/ cache: 'pnpm' - - uses: pnpm/action-setup@v4.0.0 - with: - version: 9.12.1 - run: npm install corepack -g - run: corepack enable - run: pnpm install