Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: node deploy #812

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions templates/node/.travis.yml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ jobs:
- stage: NPM RC Release
if: tag =~ /-(rc|RC)/
node_js: "14.16"
script: echo "Deploying RC to NPM..."
script:
- npm install
- npm run build
- echo "Deploying RC to NPM..."
deploy:
provider: npm
email: $NPM_EMAIL
Expand All @@ -16,10 +19,14 @@ jobs:
- stage: NPM Release
if: not tag =~ /-(rc|RC)/
node_js: "14.16"
script: echo "Deploying to NPM..."
script:
- npm install
- npm run build
- echo "Deploying to NPM..."
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_API_KEY
skip_cleanup: true
on:
tags: true