We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 724b55c commit fd04cfdCopy full SHA for fd04cfd
1 file changed
.github/workflows/release.yml
@@ -13,3 +13,19 @@ jobs:
13
token: ${{ secrets.GITHUB_TOKEN }}
14
release-type: node
15
bump-minor-pre-major: true
16
+ # The logic below handles the npm publication:
17
+ - uses: actions/checkout@v2
18
+ # these if statements ensure that a publication only occurs when
19
+ # a new release is created:
20
+ if: ${{ steps.release.outputs.release_created }}
21
+ - uses: actions/setup-node@v1
22
+ with:
23
+ node-version: 16
24
+ registry-url: 'https://external-dot-oss-automation.appspot.com'
25
26
+ - run: npm ci
27
28
+ - run: npm publish
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
31
0 commit comments