Skip to content

Commit

Permalink
workflow修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenshin0011 committed Jun 14, 2024
1 parent 6707496 commit e7d651e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ jobs:
with:
node-version: '20'

- name: Install dependencies
- name: Clear npm cache and reinstall dependencies
run: |
cd front
rm -rf node_modules
rm -f package-lock.json
npm cache clean --force
npm install
- name: Build project
Expand All @@ -33,4 +36,4 @@ jobs:
cd front
npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e7d651e

Please sign in to comment.