Skip to content
Snippets Groups Projects
Verified Commit 6742b43e authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: install npm assets with npm ci command

parent ca7d3c45
Branches
Tags
No related merge requests found
variables:
WPDESK_CI_VERSION: "2023.06.02"
WPDESK_CI_VERSION: "2023.06.13"
MYSQL_ROOT_PASSWORD: "mysql"
MYSQL_DATABASE: "wptest"
MYSQL_USER: "mysql"
......
......@@ -46,7 +46,7 @@ prepare npm assets:
script:
- mkdir -p /cache/npm-cache
- npm config set cache /cache/npm-cache --global
- if [[ -f package.json ]]; then npm install --prefer-offline --no-audit --progress=false; fi
- if [[ -f package.json ]]; then npm ci --no-audit --progress=false; fi
- if [[ -f package.json ]]; then npm run prod; fi
- if [[ -f tests/codeception/prepare_npm.sh ]]; then sh tests/codeception/prepare_npm.sh; fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment