Skip to content

Commit

Permalink
chore: update demo workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shunnNet committed Oct 15, 2024
1 parent d9fb51f commit b8fefce
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,23 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.12.2
cache: 'pnpm'

- name: Install dependencies
uses: bahmutov/npm-install@v1
run: pnpm install

- name: Build project
run: npm run build
run: pnpm build:demo

- name: Upload production-ready build files
uses: actions/upload-artifact@v4.4.3
Expand Down

0 comments on commit b8fefce

Please sign in to comment.