Skip to content

Commit

Permalink
Update PullRequest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikramuka authored Jul 5, 2024
1 parent 0962f10 commit eb06966
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/PullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ jobs:
lfs: true

- name: Delete node_modules (manual cleanup)
if: ${{ runner.os == 'windows-latest' }}
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
rd /S /Q node_modules
else
rm -rf node_modules
fi
rd /S /Q node_modules
shell: powershell

- name: Delete node_modules (manual cleanup)
if: ${{ runner.os != 'windows-latest' }}
run: |
rm -rf node_modules
shell: bash

- name: Setup Node.js environment
Expand Down

0 comments on commit eb06966

Please sign in to comment.