Skip to content

Commit

Permalink
feat: add publishing action
Browse files Browse the repository at this point in the history
  • Loading branch information
iuliancmarcu committed Nov 28, 2023
1 parent 59a4666 commit 6357e3e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches: main

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 6357e3e

Please sign in to comment.