Skip to content

Commit

Permalink
build: use action for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Oct 14, 2020
1 parent 32b9ef0 commit ba0aee6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/publish.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/release-please.yml
Expand Up @@ -33,3 +33,15 @@ jobs:
git tag -a ${{ steps.release.outputs.tag_name }}-deno -m 'chore: ${{ steps.release.outputs.tag_name }} release'
git push origin ${{ steps.release.outputs.tag_name }}-deno
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: 'https://external-dot-oss-automation.appspot.com/'
if: ${{ steps.release.outputs.release_created }}
- run: npm install
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit ba0aee6

Please sign in to comment.