mirror of
https://gitea.com/actions/setup-node.git
synced 2025-04-08 08:19:51 +00:00
Add auth support (#21)
* Updates * Update * Update * Update * Update * Yarn sometimes prefers npmrc, so use same token * Description * Update readme * Feedback * Add type * new toolkit and scoped registries * npmrc in RUNNER_TEMP * Dont always auth * Try exporting blank token * Get auth working for now pending runner changes * Fix string interpolation for auth token. * Don't export both userconfigs * Update authutil.js * Add single quotes for authString * Fix the registry string. * Use userconfig and append trailing slash * Keep in root of repo * Try just adding auth token * Remove auth token * Try changes again * Add tests * Npm and GPR samples * Add types
This commit is contained in:
36
node_modules/octokit-pagination-methods/.travis.yml
generated
vendored
Normal file
36
node_modules/octokit-pagination-methods/.travis.yml
generated
vendored
Normal file
@ -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