Skip to content

Commit

Permalink
feat: Automate publishing package
Browse files Browse the repository at this point in the history
  • Loading branch information
ashr81 committed Sep 9, 2023
1 parent 8728b91 commit 2af736a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
branches: main

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

0 comments on commit 2af736a

Please sign in to comment.