perf(ci): optimize npm install and fix deprecation warnings
- Add --prefer-offline --no-audit --no-fund flags to npm ci - Fix semantic-release deprecation: use successCommentCondition instead of successComment
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -30,11 +30,11 @@ jobs:
|
||||
cache: "npm"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: npm ci --prefer-offline --no-audit --no-fund
|
||||
|
||||
- name: Install backend dependencies
|
||||
working-directory: ./backend
|
||||
run: npm ci
|
||||
run: npm ci --prefer-offline --no-audit --no-fund
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
Reference in New Issue
Block a user