Skip to content

Commit

Permalink
[Actions] Updated .github/actions/npm/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Nov 27, 2024
1 parent df8b280 commit f1e70a1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ runs:
# core.notice('Cache Hit: ${{steps.npm-cache.outputs.cache-hit}}');
####################################################################################################################

- name: "Npm: Config"
shell: bash
run: |
npm config set loglevel error
npm config set fetch-retries 3
npm config set fetch-retry-mintimeout 15000
npm config set fetch-retry-maxtimeout 90000
- name: "Npm: Clear node modules"
shell: bash
run: rm -rf "${{github.workspace}}/node-modules"
Expand All @@ -80,6 +88,8 @@ runs:
--ignore-scripts \
--no-fund \
--no-audit \
--prefer-offline \
--no-progress \
--registry="${{env.NPM_REGISTRY}}"
# Running tests doesn't work as they're crap
Expand Down

0 comments on commit f1e70a1

Please sign in to comment.