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
582ced9a
Commit
582ced9a
authored
1 year ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
feature(npm): added octolize npm libraries support
parent
59a768c8
No related branches found
No related tags found
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
+5
-1
5 additions, 1 deletion
includes/prepare.yml
with
6 additions
and
2 deletions
gitlab-ci-1.2.yml
+
1
−
1
View file @
582ced9a
variables
:
WPDESK_CI_VERSION
:
"
2023.11.1
7
"
WPDESK_CI_VERSION
:
"
2023.11.
2
1"
MYSQL_ROOT_PASSWORD
:
"
mysql"
MYSQL_DATABASE
:
"
wptest"
MYSQL_USER
:
"
mysql"
...
...
This diff is collapsed.
Click to expand it.
includes/prepare.yml
+
5
−
1
View file @
582ced9a
...
...
@@ -43,9 +43,13 @@ prepare npm assets:
when
:
never
stage
:
prepare-vendor
interruptible
:
true
script
:
before_
script
:
-
mkdir -p /cache/npm-cache
-
npm config set cache /cache/npm-cache --global
-
npm config set -- //${CI_SERVER_HOST}/:_authToken=${PREDATORS_DEPLOY_TOKEN}
-
npm config set @octolize:registry=https://${CI_SERVER_HOST}/api/v4/packages/npm/
-
npm config list
script
:
-
if [[ -f package.json ]]; then npm install --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