Skip to content

Commit 5203546

Browse files
committed
fix: node deploy
1 parent 685e390 commit 5203546

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

templates/node/.travis.yml.twig

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ jobs:
77
- stage: NPM RC Release
88
if: tag =~ /-(rc|RC)/
99
node_js: "14.16"
10-
script: echo "Deploying RC to NPM..."
10+
script:
11+
- npm install
12+
- npm run build
13+
- echo "Deploying RC to NPM..."
1114
deploy:
1215
provider: npm
1316
email: $NPM_EMAIL
@@ -16,10 +19,14 @@ jobs:
1619
- stage: NPM Release
1720
if: not tag =~ /-(rc|RC)/
1821
node_js: "14.16"
19-
script: echo "Deploying to NPM..."
22+
script:
23+
- npm install
24+
- npm run build
25+
- echo "Deploying to NPM..."
2026
deploy:
2127
provider: npm
2228
email: $NPM_EMAIL
2329
api_key: $NPM_API_KEY
30+
skip_cleanup: true
2431
on:
2532
tags: true

0 commit comments

Comments
 (0)