Skip to content

Commit

Permalink
Merge pull request #4 from tenzir/topic/continuous-release
Browse files Browse the repository at this point in the history
Add github action for npm publish
  • Loading branch information
dit7ya authored Oct 2, 2024
2 parents 6b8da03 + c314f83 commit 494ec35
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-npm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to NPM

on:
workflow_dispatch:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"

- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 494ec35

Please sign in to comment.