Skip to content

Commit b1c8901

Browse files
committed
build: change push logic via pnpm
1 parent c9cf433 commit b1c8901

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ jobs:
1818
with:
1919
node-version: '20.14'
2020

21+
- name: Install pnpm
22+
run: npm install -g pnpm
23+
2124
- name: Install dependencies
22-
run: npm install
25+
run: pnpm install
2326

2427
- name: Build
25-
run: npm run build
28+
run: pnpm run build
2629

2730
- name: Commit and push changes
2831
run: |
2932
git config --global user.name 'RuSaG0'
3033
git config --global user.email '[email protected]'
3134
git add docs/
3235
git commit -m "[auto] build: Update docs folder"
33-
git push
36+
git push

0 commit comments

Comments
 (0)