Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xixiIBN5100 authored Sep 5, 2024
1 parent c7987cf commit 306ab47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ jobs:
**/node_modules
key: ${{ runner.OS }}-${{ hashFiles('**/pnpm-lock.yaml') }}

- name: Clean Node Modules and Lock File
uses: maxim-lobanov/actions-rm-files@v1
with:
path: |
node_modules
pnpm-lock.yaml
- name: Clean and Install Dependencies
run: |
rm -rf node_modules pnpm-lock.yaml
pnpm install --ignore-scripts
Expand Down

0 comments on commit 306ab47

Please sign in to comment.