Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (23 sloc) 658 Bytes
language: node_js
node_js:
- "lts/*"
stages:
- Test
- name: Release
if: branch = master AND commit_message !~ /(release|no-release)/
jobs:
include:
- stage: Release
node_js: lts/*
install: npm install --no-package-lock
before_deploy:
- git config user.email ${GITHUB_EMAIL:-"travis@travis-ci.org"}
- git config user.name ${GITHUB_USER:-"Travis CI"}
- git remote set-url origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- git checkout master
deploy:
skip_cleanup: true
provider: script
script: npm run release
on:
branch: master
You can’t perform that action at this time.