Skip to content

Commit 01ac70a

Browse files
committed
QAG-65: build: Switch to npm ci for consistent package installs
- Replace npm install with npm ci in DDEV post-start hooks - Ensures exact same dependencies are installed every time - Strictly follows package-lock.json file Refs: .ddev/config.yaml
1 parent 36134d7 commit 01ac70a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ddev/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ corepack_enable: false
3232
hooks:
3333
post-start:
3434
- exec: "composer install"
35-
- exec: "npm install"
35+
- exec: "npm ci"
3636
- exec: |
3737
plugins=(analysis-icu)
3838
for plugin in "${plugins[@]}"; do

0 commit comments

Comments
 (0)