0
Fork 0
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:
Juan Picado 2021-01-10 21:04:09 +01:00
parent b5465751a9
commit ca171790cf
2 changed files with 8 additions and 3 deletions

View file

@ -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
View file

@ -2,4 +2,3 @@ always-auth = true
recursive-install = true
registry = https://registry.verdaccio.org
loglevel=info
//registry.verdaccio.org/:_authToken=$NPM_TOKEN