run nm ci when not already installed into repository folder
Testing / test (push) Failing after 14m20s
Testing / test (push) Failing after 14m20s
This commit is contained in:
@@ -9,5 +9,12 @@ pkgs.mkShell {
|
||||
|
||||
shellHook = ''
|
||||
echo "browser-cli dev shell: node $(node --version), npm $(npm --version), uv $(uv --version)"
|
||||
|
||||
if [ -f package-lock.json ]; then
|
||||
if [ ! -f node_modules/.package-lock.json ] || [ package-lock.json -nt node_modules/.package-lock.json ]; then
|
||||
echo "Installing extension dependencies with npm ci..."
|
||||
npm ci
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user