Skip to content

Commit

Permalink
fix(deploy): use npm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed Jul 12, 2024
1 parent f1cecea commit ff8cdda
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Deploy

on:
workflow_dispatch:
pull_request:
branches:
- v5
push:
branches:
- v5
Expand All @@ -11,8 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install
- run: cd site && yarn install
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '20'
- run: npm install
- run: cd site && npm install
- run: cd site && npm run build
- run: cp ./site/CNAME ./site/dist/CNAME
- run: |
Expand Down

0 comments on commit ff8cdda

Please sign in to comment.