Skip to content

Commit 05d1231

Browse files
committed
Try npm publish
1 parent 3998dc5 commit 05d1231

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: NPM publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: "20"
16+
- run: npm ci
17+
- run: npm test
18+
- uses: JS-DevTools/npm-publish@v3
19+
with:
20+
token: ${{ secrets.NPM_TOKEN }}
21+
package: ts/ielib
22+
dry-run: true

0 commit comments

Comments
 (0)