We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa2037b commit c1ad098Copy full SHA for c1ad098
1 file changed
.github/workflows/build.yml
@@ -44,14 +44,19 @@ jobs:
44
force_orphan: true
45
publish_dir: docs
46
cname: typescript.typedrest.net
47
+ - name: Connect to registry (npmjs.com)
48
+ if: github.event_name == 'push' && steps.gitversion.outputs.preReleaseLabel == ''
49
+ uses: actions/setup-node@v1
50
+ with:
51
+ registry-url: https://registry.npmjs.org
52
- name: Publish packages (npmjs.com)
53
if: github.event_name == 'push' && steps.gitversion.outputs.preReleaseLabel == ''
54
run: npm publish --access public
55
env:
56
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
57
58
# Publish
- - name: Connect to GitHub Packages
59
+ - name: Connect to registry (GitHub)
60
if: github.event_name == 'push'
61
uses: actions/setup-node@v1
62
with:
0 commit comments