mirror of
https://github.com/actions/setup-node.git
synced 2026-11-05 14:36:28 +03:00
Add auth
This commit is contained in:
1 parent
fc9ff49b90
commit
5273d0df9c
391 files changed
+79850
-45
No files matched your search
+36
@@ -0,0 +1,36 @@
|
||||
language: node_js
|
||||
cache:
|
||||
directories:
|
||||
- ~/.npm
|
||||
|
||||
# Trigger a push build on master and greenkeeper branches + PRs build on every branches
|
||||
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /^greenkeeper.*$/
|
||||
|
||||
branches:
|
||||
except:
|
||||
- /^v\d+\.\d+\.\d+$/
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
node_js: 6
|
||||
- node_js: 8
|
||||
install: npm ci
|
||||
- node_js: 10
|
||||
install: npm ci
|
||||
- node_js: lts/*
|
||||
script: npm run coverage:upload
|
||||
- stage: release
|
||||
env: semantic-release
|
||||
node_js: lts/*
|
||||
install: npm ci
|
||||
script: npm run semantic-release
|
||||
|
||||
stages:
|
||||
- test
|
||||
- name: release
|
||||
if: branch = master AND type IN (push)
|
||||
Reference in new issue
Block a user