File tree Expand file tree Collapse file tree 2 files changed +34
-16
lines changed Expand file tree Collapse file tree 2 files changed +34
-16
lines changed Original file line number Diff line number Diff line change 1
-
2
1
language: node_js
3
2
node_js:
4
- - "14.16 "
3
+ - "18.8.0 "
5
4
6
5
jobs:
7
6
include:
8
- - stage: npm release
9
- node_js: "14.16"
10
- script: echo "Deploying to npm ..."
7
+ - stage: NPM RC Release
8
+ if: tag == *-RC*
9
+ node_js: "18.8.0"
10
+ script: echo "Deploying RC to NPM..."
11
+ deploy:
12
+ provider: npm
13
+ email: $NPM_EMAIL
14
+ api_key: $NPM_API_KEY
15
+ tag: next
16
+ - stage: NPM Release
17
+ if: tag != *-RC*
18
+ node_js: "18.8.0"
19
+ script: echo "Deploying to NPM..."
11
20
deploy:
12
21
provider: npm
13
22
email: $NPM_EMAIL
Original file line number Diff line number Diff line change 1
-
2
1
language: node_js
3
2
node_js:
4
- - "14.16 "
3
+ - "18.8.0 "
5
4
6
5
jobs:
7
6
include:
8
- - stage: npm release
9
- node_js: "14.16"
10
- script:
11
- - echo "Installing dependencies ..."
12
- - npm i
13
- - echo "Building library ..."
7
+ - stage: NPM RC Release
8
+ if: tag == *-RC*
9
+ node_js: "18.8.0"
10
+ script:
11
+ - npm install
14
12
- npm run build
15
- - echo "Deploying to npm ..."
13
+ - echo "Deploying RC to NPM..."
14
+ deploy:
15
+ provider: npm
16
+ email: $NPM_EMAIL
17
+ api_key: $NPM_API_KEY
18
+ tag: next
19
+ - stage: NPM Release
20
+ if: tag != *-RC*
21
+ node_js: "18.8.0"
22
+ script:
23
+ - npm install
24
+ - npm run build
25
+ - echo "Deploying to NPM..."
16
26
deploy:
17
27
provider: npm
18
28
email: $NPM_EMAIL
19
29
api_key: $NPM_API_KEY
20
- skip_cleanup: true
21
30
on:
22
- tags: true
31
+ tags: true
You can’t perform that action at this time.
0 commit comments