From f924b6c8e3542e34c0d586f1a55415068098b2a8 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sun, 15 Oct 2023 18:28:09 +0900 Subject: [PATCH] fix(actions): install pnpm before call `setup-node` --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8484b806..8b1e728a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,18 +20,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup NodeJS - uses: actions/setup-node@v3 - with: - node-version: ${{ env.NODE_VERSION }} - cache: 'pnpm' - - name: Install pnpm uses: pnpm/action-setup@v2 with: version: 8 run_install: false + - name: Setup NodeJS + uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_VERSION }} + cache: 'pnpm' + - name: Install dependencies run: pnpm install --frozen-lockfile