mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -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
|
- name: setup node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 15
|
||||||
registry-url: https://registry.verdaccio.org
|
registry-url: 'https://registry.verdaccio.org'
|
||||||
|
|
||||||
- name: install pnpm
|
- name: install pnpm
|
||||||
run: npm i pnpm@latest -g
|
run: npm i pnpm@latest -g
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
||||||
|
|
||||||
- name: setup pnpm config
|
- name: setup pnpm config
|
||||||
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
|
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
|
- name: install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|
1
.npmrc
1
.npmrc
|
@ -2,4 +2,3 @@ always-auth = true
|
||||||
recursive-install = true
|
recursive-install = true
|
||||||
registry = https://registry.verdaccio.org
|
registry = https://registry.verdaccio.org
|
||||||
loglevel=info
|
loglevel=info
|
||||||
//registry.verdaccio.org/:_authToken=$NPM_TOKEN
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue