We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90aa1b commit 2ac2261Copy full SHA for 2ac2261
.github/workflows/publish.yml
@@ -36,15 +36,17 @@ jobs:
36
with:
37
node-version: '12.x'
38
always-auth: true
39
- scope: '@nodefactory'
40
registry-url: 'https://registry.npmjs.org'
41
-
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
42
- name: Install dependencies
43
run: yarn install --frozen-lockfile --non-interactive
44
45
- name: Build packages
46
run: yarn run build
47
48
+ - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > ~/.npmrc
49
+
50
- name: Publish packages
51
# manual switch to latest
52
run: yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive --tag beta
0 commit comments