mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore: update script
This commit is contained in:
parent
b5465751a9
commit
ca171790cf
2 changed files with 8 additions and 3 deletions
10
.github/workflows/changesets.yml
vendored
10
.github/workflows/changesets.yml
vendored
|
@ -30,17 +30,23 @@ jobs:
|
|||
- name: setup node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
registry-url: https://registry.verdaccio.org
|
||||
node-version: 15
|
||||
registry-url: 'https://registry.verdaccio.org'
|
||||
|
||||
- name: install pnpm
|
||||
run: npm i pnpm@latest -g
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
||||
|
||||
- name: setup pnpm config
|
||||
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
|
||||
- name: setup pnpm config registry
|
||||
run: pnpm config set registry https://registry.verdaccio.org
|
||||
|
||||
- name: install dependencies
|
||||
run: pnpm install
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
||||
|
||||
- name: build
|
||||
run: pnpm build
|
||||
|
|
1
.npmrc
1
.npmrc
|
@ -2,4 +2,3 @@ always-auth = true
|
|||
recursive-install = true
|
||||
registry = https://registry.verdaccio.org
|
||||
loglevel=info
|
||||
//registry.verdaccio.org/:_authToken=$NPM_TOKEN
|
||||
|
|
Loading…
Reference in a new issue