fix(ci): remove npm cache dependency on package-lock.json
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Successful in 3s
CI - Lint and Build / lint-backend (push) Successful in 18s
CI - Lint and Build / lint-frontend (push) Successful in 15s
CI - Lint and Build / build-frontend (push) Successful in 14s
CI - Lint and Build / docker-build-test (push) Successful in 1m38s
Release - Build and Publish Docker Images / build-and-publish (push) Failing after 21s
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Successful in 3s
CI - Lint and Build / lint-backend (push) Successful in 18s
CI - Lint and Build / lint-frontend (push) Successful in 15s
CI - Lint and Build / build-frontend (push) Successful in 14s
CI - Lint and Build / docker-build-test (push) Successful in 1m38s
Release - Build and Publish Docker Images / build-and-publish (push) Failing after 21s
Use npm install instead of npm ci since package-lock.json files are not committed to the repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,13 +20,11 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: backend/package-lock.json
|
||||
|
||||
- name: Install backend dependencies
|
||||
run: |
|
||||
cd backend
|
||||
npm ci
|
||||
npm install
|
||||
|
||||
- name: Run ESLint (backend)
|
||||
run: |
|
||||
@@ -48,13 +46,11 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
npm ci
|
||||
npm install
|
||||
|
||||
- name: Run ESLint (frontend)
|
||||
run: |
|
||||
@@ -72,13 +68,11 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install frontend dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
npm ci
|
||||
npm install
|
||||
|
||||
- name: Build frontend
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user