Skip to content

Commit 67e2195

Browse files
author
David Echelberger
authored
Merge pull request #24 from kaleido-io/npm-publish
Use npm publish action provided by GitHub
2 parents f25740f + 618b694 commit 67e2195

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
13-
- name: Use Node.js
14-
uses: actions/setup-node@v2
11+
- uses: actions/checkout@v3
12+
# Setup .npmrc file to publish to npm
13+
- uses: actions/setup-node@v3
1514
with:
1615
node-version: '16.x'
17-
16+
registry-url: 'https://registry.npmjs.org'
1817
- run: npm ci
19-
20-
- name: Release to NPM
21-
run: npm publish
18+
- run: npm publish
2219
env:
23-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2420
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)