Skip to content

Commit c6a790c

Browse files
committed
fix: activate latest pnpm
1 parent 39f6488 commit c6a790c

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

.github/workflows/build-storybook-demo.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,20 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout repository
13-
uses: actions/checkout@v4
14-
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v4
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
1714
with:
18-
node-version: 24
19-
cache: 'pnpm'
20-
21-
# Install pnpm manually & force-add to PATH
22-
- name: Install pnpm
23-
run: |
24-
npm install -g pnpm@9
25-
echo "$(npm root -g)/pnpm/bin" >> $GITHUB_PATH
26-
27-
- name: Install and Build Storybook
15+
node-version: '20'
16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 9
19+
- name: Install and Build 🔧 # 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.
2820
run: |
2921
pnpm install --frozen-lockfile
3022
pnpm run build-storybook
3123
3224
- name: Deploy 🚀
3325
uses: JamesIves/github-pages-deploy-action@v4
3426
with:
35-
branch: gh-pages
36-
folder: docs
37-
clean: true
27+
branch: gh-pages # The branch the action should deploy to.
28+
folder: docs # The folder the action should deploy.

0 commit comments

Comments
 (0)