Skip to content

Commit

Permalink
Merge pull request #24 from friederbluemle/ci-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
friederbluemle authored Jan 10, 2023
2 parents a51916b + 5d3cb81 commit f668ddd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: publish
on:
push:
tags: ['v[0-9]+.[0-9]+.[0-9]+']
jobs:
publish:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f668ddd

Please sign in to comment.