File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Version
1+ name : Release
22
33on :
44 workflow_dispatch :
1414
1515permissions :
1616 contents : write
17+ id-token : write
1718
1819concurrency :
19- group : version -${{ github.ref }}
20+ group : release -${{ github.ref }}
2021 cancel-in-progress : false
2122
2223jobs :
23- version :
24- name : Bump version and create tag
24+ release :
25+ name : Version, tag and publish
2526 runs-on : ubuntu-latest
2627
2728 steps :
@@ -30,11 +31,17 @@ jobs:
3031 with :
3132 fetch-depth : 0
3233
34+ - name : Setup Bun
35+ uses : oven-sh/setup-bun@v2
36+ with :
37+ bun-version : " 1.3.11"
38+
3339 - name : Setup Node
3440 uses : actions/setup-node@v6
3541 with :
3642 node-version : " 22.14.0"
3743 check-latest : true
44+ registry-url : " https://registry.npmjs.org"
3845
3946 - name : Update npm
4047 run : npm install -g npm@^11.5.1
4350 run : |
4451 node --version
4552 npm --version
53+ bun --version
54+
55+ - name : Install dependencies
56+ run : bun install --frozen-lockfile
57+
58+ - name : Lint
59+ run : bun run lint
60+
61+ - name : Typecheck
62+ run : bun run typecheck
63+
64+ - name : Test
65+ run : bun run test
4666
4767 - name : Configure git
4868 run : |
5676 - name : Push commit and tag
5777 run : |
5878 git push origin HEAD
59- git push origin --tags
79+ git push origin --tags
80+
81+ - name : Build package
82+ run : bun run build
83+
84+ - name : Publish package
85+ run : npm publish --provenance
You can’t perform that action at this time.
0 commit comments