Skip to content

Commit

Permalink
feat: update npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Mar 14, 2024
1 parent 823fe7f commit e6e3bbd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions actions/run/npm/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ runs:
shell: bash
run: |
echo "Run npm install..."
rm -rf package-lock.json node_modules
npm install --force --loglevel error --audit=false --fund=false
rm -rf package-lock.json **/node_modules
npm config set audit false
npm config set loglevel error
npm config set fund false
echo 'TODO: workaround for https://github.com/npm/cli/issues/7019'
npm i --workspaces --include-workspace-root || npm i
echo '------------------'
echo 'TODO: workaround for https://github.com/npm/cli/issues/6787#issuecomment-1751005219'
npm i --workspaces --include-workspace-root || npm i
git add .

0 comments on commit e6e3bbd

Please sign in to comment.