mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
chore: setup release on npmjs as tag
This commit is contained in:
parent
b51892cb9a
commit
b6e8554764
14
.github/workflows/changesets.yml
vendored
14
.github/workflows/changesets.yml
vendored
@ -28,24 +28,24 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 14
|
||||||
registry-url: 'https://registry.verdaccio.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
|
||||||
|
|
||||||
- name: install pnpm
|
- name: install pnpm
|
||||||
run: npm i pnpm@6.10.3 -g
|
run: npm i pnpm@6.10.3 -g
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_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
|
- name: setup pnpm config registry
|
||||||
run: pnpm config set registry https://registry.verdaccio.org
|
run: pnpm config set registry https://registry.npmjs.org
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
@ -59,5 +59,5 @@ jobs:
|
|||||||
publish: pnpm ci:publish
|
publish: pnpm ci:publish
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
NPM_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user