Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-js
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-js
Commits
eb0fcd60
Commit
eb0fcd60
authored
2 years ago
by
ko_oler
Browse files
Options
Downloads
Patches
Plain Diff
Добавлена генерация файлов для frontend в Makefile и публикация npm-пакета
parent
7ea88f4e
No related branches found
No related tags found
1 merge request
!1
Добавлена генерация файлов для frontend в Makefile и публикацию npm-пакета
Pipeline
#19106
failed with stage
Stage:
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-0
9 additions, 0 deletions
.gitlab-ci.yml
with
9 additions
and
0 deletions
.gitlab-ci.yml
+
9
−
0
View file @
eb0fcd60
...
@@ -22,6 +22,15 @@ publish_npm:
...
@@ -22,6 +22,15 @@ publish_npm:
-
mkdir config/dist
-
mkdir config/dist
-
make proto
-
make proto
-
cd ./config
-
cd ./config
-
|
if [[ ! -f .npmrc ]]; then
echo 'No .npmrc found! Creating one now. Please review the following link for more information: https://docs.gitlab.com/ee/user/packages/npm_registry/index.html#project-level-npm-endpoint-1'
{
echo "@${CI_PROJECT_ROOT_NAMESPACE}:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/"
echo "${CI_API_V4_URL#http*:}/packages/npm/:_authToken=\${CI_JOB_TOKEN}"
echo "${CI_API_V4_URL#http*:}/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=\${CI_JOB_TOKEN}"
} >> .npmrc
fi
-
NPM_PACKAGE_NAME=$(node -p "require('./package.json').name")
-
NPM_PACKAGE_NAME=$(node -p "require('./package.json').name")
-
NPM_PACKAGE_CURRENT_VERSION=$(npm show ${NPM_PACKAGE_NAME} version)
-
NPM_PACKAGE_CURRENT_VERSION=$(npm show ${NPM_PACKAGE_NAME} version)
-
yarn pub
-
yarn pub
...
...
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