Skip to content

Commit

Permalink
Create npm-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
garris authored Feb 23, 2024
1 parent 7ada5c2 commit bcc8d50
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/npm-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
workflow_dispatch:
workflow_call:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci
- run: npm test
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit bcc8d50

Please sign in to comment.