Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gitlab-ci-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
gitlab-ci-template
Commits
ac950c1e
Commit
ac950c1e
authored
Sep 21, 2023
by
张涵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat: 添加前端lib开发配置-简易版本
parent
1af43f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
.gitlab-ci-front-lib-simple.yml
.gitlab-ci-front-lib-simple.yml
+30
-0
No files found.
.gitlab-ci-front-lib-simple.yml
0 → 100644
View file @
ac950c1e
# 前端开发NPM包的标准CI工作流 (简易版)
# 需要制定在外围指定 Node_VERSION 变量
# variables:
# Node_VERSION: v14
stages
:
-
publish:beta
-
publish
publish:beta
:
stage
:
publish:beta
only
:
-
/^v\d{1,}\.\d{1,}\.\d{1,}-beta\.\d{1,}$/
tags
:
-
runner-vue
script
:
-
fnm use ${Node_VERSION}
-
pnpm install --ignore-scripts
-
pnpm run build
-
npm -r publish --access public --no-git-checks --tag beta
publish
:
stage
:
publish
only
:
-
/^v\d{1,}\.\d{1,}\.\d{1,}$/
tags
:
-
runner-vue
script
:
-
npm -r publish --access public --no-git-checks
-
npm run notify
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment