File tree Expand file tree Collapse file tree 5 files changed +92
-0
lines changed Expand file tree Collapse file tree 5 files changed +92
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ contents : write
10
+ pull-requests : write
11
+
12
+ jobs :
13
+ release :
14
+ runs-on : ubuntu-latest
15
+ outputs :
16
+ release_created : ${{ steps.release.outputs.release_created }}
17
+ steps :
18
+ - uses : googleapis/release-please-action@v4
19
+ id : release
20
+ with :
21
+ config-file : release-please-config.json
22
+
23
+ publish :
24
+ runs-on : ubuntu-latest
25
+ needs : release
26
+ if : needs.release.outputs.release_created
27
+ steps :
28
+ - name : Checkout
29
+ uses : actions/checkout@v4
30
+
31
+ - name : Setup Node.js
32
+ uses : actions/setup-node@v4
33
+ with :
34
+ node-version : v22.x
35
+ registry-url : https://registry.npmjs.org
36
+ cache : pnpm
37
+
38
+ - name : Install dependencies
39
+ run : pnpm install
40
+
41
+ - name : Audit signatures
42
+ run : pnpm audit signatures
43
+
44
+ - name : Publish to registry
45
+ env :
46
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
47
+ run : pnpm -r publish --access public
Original file line number Diff line number Diff line change 1
1
save-exact = true
2
+ git-checks = false
Original file line number Diff line number Diff line change
1
+ {
2
+ "packages/bindbox" : " 0.0.1"
3
+ }
Original file line number Diff line number Diff line change 30
30
}
31
31
},
32
32
"scripts" : {
33
+ "prepare" : " pnpm run build" ,
33
34
"build" : " unbuild" ,
34
35
"test" : " vitest" ,
35
36
"test:coverage" : " vitest run --coverage --coverage.include=src"
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" ,
3
+ "release-type" : " node" ,
4
+ "packages" : {
5
+ "packages/bindbox" : {
6
+ "component" : " bindbox"
7
+ }
8
+ },
9
+ "pull-request-header" : " Auto generated release" ,
10
+ "pull-request-title-pattern" : " chore: release v${version}" ,
11
+ "group-pull-request-title-pattern" : " chore: release ${component} v${version}" ,
12
+ "include-component-in-tag" : false ,
13
+ "include-v-in-tag" : true ,
14
+ "prerelease" : true ,
15
+ "versioning" : " prerelease" ,
16
+ "bump-minor-pre-major" : true ,
17
+ "bump-patch-for-minor-pre-major" : true ,
18
+ "changelog-sections" : [
19
+ {
20
+ "type" : " feat" ,
21
+ "section" : " Features" ,
22
+ "hidden" : false
23
+ },
24
+ {
25
+ "type" : " fix" ,
26
+ "section" : " Bug Fixes" ,
27
+ "hidden" : false
28
+ },
29
+ {
30
+ "type" : " perf" ,
31
+ "section" : " Performance Improvements" ,
32
+ "hidden" : false
33
+ },
34
+ {
35
+ "type" : " deps" ,
36
+ "section" : " Dependencies" ,
37
+ "hidden" : false
38
+ }
39
+ ]
40
+ }
You can’t perform that action at this time.
0 commit comments