Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
6742b43e
Verified
Commit
6742b43e
authored
2 years ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
fix: install npm assets with npm ci command
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
ca7d3c45
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
gitlab-ci-1.2.yml
+1
-1
1 addition, 1 deletion
gitlab-ci-1.2.yml
includes/prepare.yml
+1
-1
1 addition, 1 deletion
includes/prepare.yml
with
2 additions
and
2 deletions
gitlab-ci-1.2.yml
+
1
−
1
View file @
6742b43e
variables
:
WPDESK_CI_VERSION
:
"
2023.06.
02
"
WPDESK_CI_VERSION
:
"
2023.06.
13
"
MYSQL_ROOT_PASSWORD
:
"
mysql"
MYSQL_DATABASE
:
"
wptest"
MYSQL_USER
:
"
mysql"
...
...
This diff is collapsed.
Click to expand it.
includes/prepare.yml
+
1
−
1
View file @
6742b43e
...
...
@@ -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 i
nstall --prefer-offline
--no-audit --progress=false; fi
-
if [[ -f package.json ]]; then npm
c
i --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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment