Change npm install to npm ci for dependency installation
This commit is contained in:
@@ -20,11 +20,10 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
cache: 'npm' # Optimizes subsequent runs
|
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install --legacy-peer-deps
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
- name: Run Linter (Optional but recommended)
|
- name: Run Linter (Optional but recommended)
|
||||||
run: npm run lint --if-present
|
run: npm run lint --if-present
|
||||||
|
|||||||
Reference in New Issue
Block a user