Skip to content

Commit

Permalink
fix(deploy): use npm@20 to fix error (#6356)
Browse files Browse the repository at this point in the history
* fix(deploy): use npm instead of yarn

* chore: remove on pull_request
  • Loading branch information
pearmini authored Jul 12, 2024
1 parent f1cecea commit bf13fe8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,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 bf13fe8

Please sign in to comment.