mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 09:16:45 +00:00
ci(fix): add steps to setup pnpm via official documentation
This commit is contained in:
parent
70a7b90ff7
commit
3193a9fa9d
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -10,15 +10,16 @@ jobs:
|
||||
steps:
|
||||
- name: Perform check out
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
- 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: |
|
||||
chsh -s /bin/bash
|
||||
wget -qO- https://get.pnpm.io/install.sh | sh -
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm prepare
|
||||
pnpm lint
|
||||
pnpm docs:build
|
||||
- uses: pnpm/action-setup@v2
|
||||
- name: Deploy to GitHub pages
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user