Skip to content

Commit

Permalink
chore: Setup pnpm in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
riceball-tw committed Feb 13, 2024
1 parent 0015b45 commit e7ce511
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
node-version: 18
version: 8
- name: Install Git LFS
run: git lfs install
- name: Fetch Git LFS files
Expand All @@ -24,8 +24,8 @@ jobs:
run: git lfs checkout
- name: install packages and build
run: |
npm install
npm run build
pnpm install
pnpm build
- name: Publish
uses: cloudflare/pages-action@1
with:
Expand Down

0 comments on commit e7ce511

Please sign in to comment.