mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-15 05:47:18 -07:00
ci(lint): Optimize dependency installation
Updates the 'lint.yml' workflow to use 'npm ci --only=dev'. This ensures that only 'devDependencies' are installed, making the linting job faster and more efficient as it doesn't need to download and install the main application dependencies.
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
||||
cache: 'npm'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: 'npm ci'
|
||||
run: 'npm ci --only=dev'
|
||||
|
||||
- name: 'Run linting'
|
||||
run: 'npm run lint:all'
|
||||
|
||||
Reference in New Issue
Block a user