Skip to content

Commit 9bbf9ee

Browse files
committed
build: docs folder
1 parent 2ee079c commit 9bbf9ee

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,31 @@ jobs:
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v4
33+
3334
- name: Set up Node
3435
uses: actions/setup-node@v4
3536
with:
3637
node-version: lts/*
37-
cache: 'npm'
38+
cache: 'pnpm'
39+
40+
- name: Install pnpm
41+
run: npm install -g pnpm
42+
3843
- name: Install dependencies
39-
run: npm ci
44+
run: pnpm install
45+
4046
- name: Build
41-
run: npm run build
47+
run: pnpm run build
48+
4249
- name: Setup Pages
4350
uses: actions/configure-pages@v5
51+
4452
- name: Upload artifact
4553
uses: actions/upload-pages-artifact@v3
4654
with:
4755
# Upload dist folder
4856
path: './dist'
57+
4958
- name: Deploy to GitHub Pages
5059
id: deployment
51-
uses: actions/deploy-pages@v4
60+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)