Skip to content

Commit

Permalink
更新npm
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiansu committed May 29, 2024
1 parent c96f818 commit 79739cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ jobs:
ssh-keyscan github.com >> ~/.ssh/known_hosts
git config --global user.name $GIT_USER
git config --global user.email $GIT_EMAIL
- name: Update npm
run: npm install -g npm

- name: Install dependencies
run: |
npm cache clean --force
npm config set registry https://registry.npmjs.org/
npm cache clean --force
npm install
- name: Deploy hexo
Expand Down

0 comments on commit 79739cd

Please sign in to comment.