File tree Expand file tree Collapse file tree 4 files changed +2961
-1
lines changed Expand file tree Collapse file tree 4 files changed +2961
-1
lines changed Original file line number Diff line number Diff line change
1
+ stages :
2
+ - build
3
+ - pre-publish
4
+ - publish
5
+ variables :
6
+ GITLAB_TOKEN : $GITLAB_TOKEN
7
+ NPM_TOKEN : $NPM_TOKEN
8
+
9
+ before_script :
10
+ - npm install
11
+ - git config --global user.name "assets.system"
12
+ -
git config --global user.email "[email protected] "
13
+ publish :
14
+ stage : publish
15
+ only :
16
+ - master
17
+ except :
18
+ - tags
19
+ - triggers
20
+ when : manual
21
+ script :
22
+ - echo "Checking current Git user...!"
23
+ - git config --get user.name
24
+ - echo "Checking current Git email..."
25
+ - git config --get user.email
26
+ - echo "Manually triggered publish for master branch..."
27
+ - git remote set-url origin "https://gitlab-ci-token:${GITLAB_TOKEN}@gitlab.okg.com/okfe/im.git"
28
+ - git checkout $CI_COMMIT_REF_NAME
29
+ - git pull origin $CI_COMMIT_REF_NAME
30
+ - npm run release --ci --token ${GITLAB_TOKEN}
31
+ tags :
32
+ - nodejs18
33
+
34
+ docs-publish :
35
+ stage : publish
36
+ only :
37
+ - /^dev\/\d+\.\d+.\d+$/
38
+ except :
39
+ - tags
40
+ - triggers
41
+ when : manual
42
+ script :
43
+ - nvm use v20.11.0
44
+ - echo "Checking current Git user...!"
45
+ - git config --get user.name
46
+ - echo "Checking current Git email..."
47
+ - git config --get user.email
48
+ - echo "Manually triggered docs publish for dev branch..."
49
+ - git remote set-url origin "https://gitlab-ci-token:${GITLAB_TOKEN}@gitlab.okg.com/okfe/im.git"
50
+ - git checkout $CI_COMMIT_REF_NAME
51
+ - git pull origin $CI_COMMIT_REF_NAME
52
+ - cd packages/docs && pnpm run build && pnpm run upload
53
+ tags :
54
+ - nodejs18
Original file line number Diff line number Diff line change 1
1
{
2
2
"editor.defaultFormatter" : " esbenp.prettier-vscode" ,
3
3
"editor.formatOnSave" : true
4
- }
4
+ }
Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ body {
61
61
.container {
62
62
position : relative ;
63
63
width : 4 * @SIZE * 1px ;
64
+ height : 4 * @SIZE * 1px ;
65
+ touch-action : none ;
66
+ background : #bbada0 ;
67
+ border-radius : 6px ;
68
+
64
69
.block {
65
70
font-size : 40px ;
66
71
box-sizing : border-box ;
You can’t perform that action at this time.
0 commit comments