Skip to content

Commit 2d7b345

Browse files
committed
chore: re-add npm-publish action
1 parent 45fbe57 commit 2d7b345

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Package to npmjs
2+
3+
on:
4+
push:
5+
branches: main
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: "20"
15+
- uses: JS-DevTools/npm-publish@v3
16+
with:
17+
token: ${{ secrets.NPM_TOKEN }}
18+
package: "./@lib/package.json"

0 commit comments

Comments
 (0)