File tree Expand file tree Collapse file tree 1 file changed +28
-4
lines changed
Expand file tree Collapse file tree 1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change 11name : Release
2+
23on :
34 push :
4- tags : ['v*']
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ contents : write
510
611jobs :
7- test :
12+ release :
813 runs-on : ubuntu-latest
914 steps :
1015 - uses : actions/checkout@v4
16+
1117 - uses : oven-sh/setup-bun@v2
18+
1219 - run : bun install
13- - run : bun run typecheck
14- - run : bun test
20+
21+ - run : bun run build
22+
23+ - name : Create GitHub Release
24+ uses : softprops/action-gh-release@v2
25+ with :
26+ generate_release_notes : true
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+
30+ - uses : actions/setup-node@v4
31+ with :
32+ node-version : ' 20'
33+ registry-url : ' https://registry.npmjs.org'
34+
35+ - name : Publish to npm
36+ run : npm publish
37+ env :
38+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments