fix: change package manager for installation to pnpm with its affiliated lockfile

This commit is contained in:
Anda Toshiki 2023-05-22 19:10:54 +08:00
parent c776595390
commit 8701b6a587

View File

@ -13,10 +13,10 @@ 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: |
yarn install --frozen-lockfile pnpm install --frozen-lockfile
yarn prepare pnpm prepare
yarn lint pnpm lint
yarn docs:build pnpm docs:build
- name: Deploy to GitHub pages - name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4 uses: JamesIves/github-pages-deploy-action@v4
with: with: