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 20, 2024
1 parent f19fc32 commit d56e971
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,19 @@ runs:
# core.notice('Cache Hit: ${{steps.npm-cache.outputs.cache-hit}}');
####################################################################################################################

- name: "Npm: Clear node modules"
shell: bash
run: rm -rf "${{github.workspace}}/node-modules"

- name: "NPM: Install dependencies"
working-directory: ${{github.workspace}}/src
shell: bash
run: npm ci --ignore-scripts
run: |
npm install \
--ignore-scripts \
--no-fund \
--no-audit \
--registry="${{env.NPM_REGISTRY}}"
# Running tests doesn't work as they're crap
# - name: "NPM: Test"
Expand Down

0 comments on commit d56e971

Please sign in to comment.