File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Any Commit
2+ on : [push, pull_request]
3+
4+ permissions : {}
5+
6+ jobs :
7+ release :
8+ uses : sxzz/workflows/.github/workflows/release-commit.yml@v1
9+ with :
10+ compact : true
Original file line number Diff line number Diff line change 77
88jobs :
99 release :
10- runs-on : ubuntu-latest
10+ uses : sxzz/workflows/.github/workflows/release.yml@v1
11+ with :
12+ publish : false
1113 permissions :
1214 contents : write
15+ id-token : write
1316
14- steps :
15- - uses : actions/checkout@v5
16- with :
17- fetch-depth : 0
18-
19- - name : Set node
20- uses : actions/setup-node@v5
21- with :
22- node-version : lts/*
23-
24- - run : npx changelogithub
25- env :
26- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
27-
28- publish-jsr :
29- runs-on : ubuntu-latest
30-
17+ release-jsr :
18+ uses : sxzz/workflows/.github/workflows/release-jsr.yml@v1
3119 permissions :
3220 contents : read
3321 id-token : write
34-
35- steps :
36- - uses : actions/checkout@v5
37-
38- - name : Install pnpm
39- uses : pnpm/action-setup@v4.1.0
40-
41- - name : Set node
42- uses : actions/setup-node@v5
43- with :
44- node-version : lts/*
45- cache : pnpm
46-
47- - name : Install
48- run : pnpm i
49-
50- - name : Publish package
51- run : npx jsr publish
Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [main]
88
9- jobs :
10- lint :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v5
14-
15- - name : Install pnpm
16- uses : pnpm/action-setup@v4.1.0
17-
18- - name : Set node
19- uses : actions/setup-node@v5
20- with :
21- node-version : lts/*
22- cache : pnpm
23-
24- - name : Install
25- run : pnpm i
26-
27- - name : Lint
28- run : pnpm run lint
29-
30- - name : Typecheck
31- run : pnpm run typecheck
32-
33- test :
34- runs-on : ${{ matrix.os }}
9+ permissions : {}
3510
36- strategy :
37- matrix :
38- os : [ubuntu-latest, windows-latest]
39- node : [18, 20, 22]
40- fail-fast : false
41-
42- steps :
43- - uses : actions/checkout@v5
44-
45- - name : Install pnpm
46- uses : pnpm/action-setup@v4.1.0
47-
48- - name : Set node ${{ matrix.node }}
49- uses : actions/setup-node@v5
50- with :
51- node-version : ${{ matrix.node }}
52- cache : pnpm
53-
54- - name : Install
55- run : pnpm i
56-
57- - name : Build
58- run : pnpm run build
59-
60- - name : Test
61- run : pnpm run test
11+ jobs :
12+ unit-test :
13+ uses : sxzz/workflows/.github/workflows/unit-test.yml@v1
Original file line number Diff line number Diff line change 7979 "prettier" : " ^3.6.2" ,
8080 "rollup" : " ^4.52.4" ,
8181 "tsdown" : " ^0.15.6" ,
82- "tsx" : " ^4.20.6" ,
8382 "typescript" : " ^5.9.3" ,
8483 "unplugin-oxc" : " ^0.5.2" ,
8584 "vite" : " ^7.1.9" ,
You can’t perform that action at this time.
0 commit comments