ci(fix): make npm install pnpm bin on first step due to missing dependency in github runner

This commit is contained in:
Anda Toshiki 2023-05-22 19:12:24 +08:00
parent 8701b6a587
commit c822e2ffe1

View File

@ -13,6 +13,7 @@ jobs:
- name: Install dependencies and build/compile the site # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. - name: Install dependencies and build/compile the site # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: | run: |
npm install pnpm -g
pnpm install --frozen-lockfile pnpm install --frozen-lockfile
pnpm prepare pnpm prepare
pnpm lint pnpm lint