Skip to content

Commit

Permalink
Add npm update and npm cache clean
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia authored Jul 18, 2024
1 parent 76bf902 commit 88d7ef9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-node-

- name: update npm
run: npm install -g npm
- name: npm cache clean
run: npm cache clean --force
- name: npm ci
run: rm -rf node_modules && rm package-lock.json && npm install --verbose
- name: Client Side Unit Tests
Expand All @@ -40,6 +44,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 22.x
- name: update npm
run: npm install -g npm
- name: npm cache clean
run: npm cache clean --force

# - uses: actions/cache@v1
# with:
Expand All @@ -48,6 +56,7 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-node-


- name: npm ci
run: |
npm ci
Expand Down

0 comments on commit 88d7ef9

Please sign in to comment.