Skip to content

Commit fb916fe

Browse files
committed
chore: use pnpm and update gh actions
1 parent 83f966f commit fb916fe

File tree

6 files changed

+1427
-2263
lines changed

6 files changed

+1427
-2263
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ jobs:
1818
with:
1919
node-version: 22
2020

21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
version: 9
25+
2126
- name: Install dependencies
22-
run: npm install
27+
run: pnpm install --frozen-lockfile
2328

2429
- name: Build VitePress site
25-
run: yarn docs:build
30+
run: pnpm docs:build
2631

2732
- name: Generate CNAME
2833
run: echo "im.doocs.org" > docs/.vitepress/dist/CNAME

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ build/
3232

3333
### VS Code ###
3434
.vscode/
35+
36+
### Node.js ###
3537
node_modules
3638
.temp
3739
.cache
38-
docs/.vitepress/cache
40+
docs/.vitepress/cache
41+
42+
### Package Managers ###
43+
package-lock.json
44+
yarn.lock
45+
.pnpm-debug.log

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false

0 commit comments

Comments
 (0)