Skip to content

Commit 2625ed9

Browse files
author
Allan
committed
fix: adding --omit=dev and httpS to npmpublish.yml
1 parent a44eca7 commit 2625ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828

2929
- name: Install dependencies
3030
run: |
31-
npm config set registry http://registry.npmjs.org
31+
npm config set registry https://registry.npmjs.org
3232
npm ci
3333
3434
- name: Build Project
3535
run: npm run build
3636

3737
- name: Check npm audit
38-
run: npm audit --production --audit-level=low
38+
run: npm audit --omit=dev --audit-level=low
3939

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

0 commit comments

Comments
 (0)