Skip to content

Commit

Permalink
build: publish release to npm via action (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jan 22, 2021
1 parent d24827f commit 72e1fee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/publish.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
releaseType: node
handleGHRelease: true
primaryBranch: main
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
release:
types: [published]
name: release
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: 'https://wombat-dressing-room.appspot.com'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 72e1fee

Please sign in to comment.