fix(actions): install pnpm before call setup-node

This commit is contained in:
JellyBrick
2023-10-15 18:28:09 +09:00
committed by GitHub
parent 926d98174c
commit f924b6c8e3

View File

@ -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