Skip to content

Commit

Permalink
fix: adding --omit=dev and httpS to npmpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan committed Sep 5, 2023
1 parent a44eca7 commit 2625ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:

- name: Install dependencies
run: |
npm config set registry http://registry.npmjs.org
npm config set registry https://registry.npmjs.org
npm ci
- name: Build Project
run: npm run build

- name: Check npm audit
run: npm audit --production --audit-level=low
run: npm audit --omit=dev --audit-level=low

- name: Set NPM Registry back to https
run: npm config set registry https://registry.npmjs.org
Expand Down

0 comments on commit 2625ed9

Please sign in to comment.