Skip to content

Commit ba0aee6

Browse files
author
bcoe
committed
build: use action for publishing
1 parent 32b9ef0 commit ba0aee6

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/publish.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,15 @@ jobs:
3333
git tag -a ${{ steps.release.outputs.tag_name }}-deno -m 'chore: ${{ steps.release.outputs.tag_name }} release'
3434
git push origin ${{ steps.release.outputs.tag_name }}-deno
3535
if: ${{ steps.release.outputs.release_created }}
36+
- uses: actions/setup-node@v1
37+
with:
38+
node-version: 14
39+
registry-url: 'https://external-dot-oss-automation.appspot.com/'
40+
if: ${{ steps.release.outputs.release_created }}
41+
- run: npm install
42+
if: ${{ steps.release.outputs.release_created }}
43+
- run: npm publish
44+
env:
45+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
46+
if: ${{ steps.release.outputs.release_created }}
47+

0 commit comments

Comments
 (0)