fix: use official script installation instead of installing via older verison of npm

This commit is contained in:
Anda Toshiki 2023-05-22 19:15:13 +08:00
parent c822e2ffe1
commit 77098dd54b

View File

@ -13,7 +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.
run: |
npm install pnpm -g
wget -qO- https://get.pnpm.io/install.sh | sh -
pnpm install --frozen-lockfile
pnpm prepare
pnpm lint