mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 01:32:30 +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:
|
||||
node-version: '12.x'
|
||||
always-auth: true
|
||||
scope: '@nodefactory'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile --non-interactive
|
||||
|
||||
- name: Build packages
|
||||
run: yarn run build
|
||||
|
||||
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > ~/.npmrc
|
||||
|
||||
- name: Publish packages
|
||||
# manual switch to latest
|
||||
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