File tree Expand file tree Collapse file tree 2 files changed +51
-1
lines changed
Expand file tree Collapse file tree 2 files changed +51
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ defaults :
8+ run :
9+ shell : bash
10+
11+ permissions :
12+ id-token : write
13+
14+ env :
15+ # Enable debug logging for actions
16+ ACTIONS_RUNNER_DEBUG : true
17+
18+ jobs :
19+ publish-npm :
20+ name : ' Publish: npm Registry'
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : ' Checkout'
24+ uses : actions/checkout@v4
25+
26+ - name : ' Setup Bun'
27+ uses : oven-sh/setup-bun@v1
28+ with :
29+ bun-version : latest
30+ registry-url : " https://registry.npmjs.org"
31+
32+ - uses : actions/setup-node@v4
33+ with :
34+ node-version : ' 20.x'
35+ registry-url : ' https://registry.npmjs.org'
36+
37+ - name : Install packages
38+ run : bun install
39+
40+ - name : Build code
41+ run : bun run build
42+
43+ - name : Test
44+ run : bun run test
45+
46+ - name : ' Publish'
47+ env :
48+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
49+ run : |
50+ npm publish --provenance --access=public
Original file line number Diff line number Diff line change 11{
22 "name" : " @elysiajs/swagger" ,
3- "version" : " 1.1.2 " ,
3+ "version" : " 1.1.3 " ,
44 "description" : " Plugin for Elysia to auto-generate Swagger page" ,
55 "author" : {
66 "name" : " saltyAom" ,
You can’t perform that action at this time.
0 commit comments