Skip to content

Commit b2dcc6a

Browse files
committed
fix: Update dependency installation in deployment workflow
1 parent 0f1d0d9 commit b2dcc6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ jobs:
2424
node-version-file: .nvmrc
2525

2626
- name: Install dependencies
27-
run: npm ci
27+
run: |
28+
if [ -f package-lock.json ]; then
29+
npm ci --no-audit --no-fund
30+
else
31+
npm install --no-audit --no-fund
32+
fi
2833
2934
- name: Lint
3035
run: npm run lint

0 commit comments

Comments
 (0)