chore: disable NPM update notice while running lint (#2438)

Disable NPM update notice while running lint
This commit is contained in:
Athurg Gooth 2023-10-25 10:00:45 +08:00 committed by GitHub
parent 2c71371b29
commit 3a5deefe11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ services:
profiles: ["tools"]
image: node:18-alpine
working_dir: /work
command: npm run lint
command: npm --no-update-notifier run lint
volumes:
- ./web:/work
- ./.air/node_modules/:/work/node_modules/