Skip to content

Commit

Permalink
Add publish workflow (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored May 31, 2023
1 parent 9366f86 commit b22419c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ concurrency:
cancel-in-progress: true
permissions: write-all
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
publish-docs:
environment:
name: github-pages
Expand Down

0 comments on commit b22419c

Please sign in to comment.