Skip to content

Commit 308a2c3

Browse files
committed
chore: use pnpm and update gh actions
1 parent d9d7927 commit 308a2c3

File tree

4 files changed

+1488
-2320
lines changed

4 files changed

+1488
-2320
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,20 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515

16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v4
18+
1619
- name: Setup Node.js
1720
uses: actions/setup-node@v4
1821
with:
1922
node-version: 22
20-
cache: npm
23+
cache: pnpm
2124

2225
- name: Install dependencies
23-
run: npm ci
26+
run: pnpm install --frozen-lockfile
2427

2528
- name: Build with VitePress
26-
run: npm run docs:build
29+
run: pnpm run docs:build
2730

2831
- name: Generate CNAME
2932
run: echo "doocs.org" > docs/.vitepress/dist/CNAME

0 commit comments

Comments
 (0)