Skip to content

Commit

Permalink
fix: pnpm action
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchLui committed Nov 7, 2023
1 parent caaa0ce commit 33f08c8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
node-version: 16
- run: pnpm ci
- run: pnpm build --if-present
version: 8

- name: Tests
run: pnpm ci

- name: Build
run: pnpm build --if-present

- name: Deploy to NameCheap
uses: appleboy/scp-action@master
Expand Down

0 comments on commit 33f08c8

Please sign in to comment.