mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 11:52:23 +00:00
fix #3 for yarn publish
This commit is contained in:
parent
c90aa1b018
commit
2ac2261df2
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -36,15 +36,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
always-auth: true
|
always-auth: true
|
||||||
scope: '@nodefactory'
|
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile --non-interactive
|
run: yarn install --frozen-lockfile --non-interactive
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: yarn run build
|
run: yarn run build
|
||||||
|
|
||||||
|
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > ~/.npmrc
|
||||||
|
|
||||||
- name: Publish packages
|
- name: Publish packages
|
||||||
# manual switch to latest
|
# manual switch to latest
|
||||||
run: yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive --tag beta
|
run: yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive --tag beta
|
||||||
|
Loading…
x
Reference in New Issue
Block a user