File tree Expand file tree Collapse file tree 7 files changed +2553
-662
lines changed Expand file tree Collapse file tree 7 files changed +2553
-662
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
3
branches :
4
- - ' release-please**'
4
+ - " release-please**"
5
5
6
6
env :
7
7
CORE_PACKAGE : core
29
29
- name : Setup Node
30
30
uses : actions/setup-node@v4
31
31
with :
32
- node-version : 20
32
+ node-version : 22
33
33
registry-url : " https://registry.npmjs.org"
34
- cache : ' npm'
34
+ cache : " npm"
Original file line number Diff line number Diff line change 15
15
- uses : actions/checkout@v4
16
16
- uses : actions/setup-node@v4
17
17
with :
18
- registry-url : ' https://registry.npmjs.org'
19
- node-version : 20
20
- cache : ' npm'
18
+ registry-url : " https://registry.npmjs.org"
19
+ node-version : 22
20
+ cache : " npm"
21
21
22
22
- name : Install
23
23
run : npm ci
Original file line number Diff line number Diff line change 26
26
uses : actions/setup-node@v4
27
27
with :
28
28
node-version : ${{ matrix.node-version }}
29
- cache : ' npm'
29
+ cache : " npm"
30
30
31
31
- name : Install
32
32
run : npm ci
50
50
- uses : actions/checkout@v4
51
51
- uses : actions/setup-node@v4
52
52
with :
53
- node-version : 20
54
- cache : ' npm'
53
+ node-version : 22
54
+ cache : " npm"
55
55
56
56
- name : Install
57
57
run : npm ci
72
72
- uses : actions/checkout@v4
73
73
- uses : actions/setup-node@v4
74
74
with :
75
- node-version : 20
76
- cache : ' npm'
75
+ node-version : 22
76
+ cache : " npm"
77
77
78
78
- name : Install
79
79
run : npm ci
Original file line number Diff line number Diff line change 2
2
push :
3
3
branches :
4
4
- main
5
+
5
6
name : Run Release Please
7
+
6
8
jobs :
7
9
release-please :
8
10
runs-on : ubuntu-latest
@@ -38,17 +40,16 @@ jobs:
38
40
- name : Setup Node
39
41
uses : actions/setup-node@v4
40
42
with :
41
- node-version : 20
43
+ node-version : 22
42
44
- name : Generate SBOM
43
45
run : |
44
- npm install -g npm@^10.2.0
46
+ npm install -g npm@^11.5.1
45
47
npm ci
46
48
npm sbom --sbom-format=cyclonedx --omit=dev --omit=peer --workspace=${{matrix.release}} > bom.json
47
49
- name : Attach SBOM to artifact
48
50
env :
49
51
GITHUB_TOKEN : ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
50
- run :
51
- gh release upload $TAG bom.json
52
+ run : gh release upload $TAG bom.json
52
53
53
54
npm-release :
54
55
needs : release-please
65
66
- name : Setup Node
66
67
uses : actions/setup-node@v4
67
68
with :
68
- node-version : 20
69
+ node-version : 22
69
70
registry-url : " https://registry.npmjs.org"
70
- cache : ' npm'
71
+ cache : " npm"
72
+ - name : Update npm (for OIDC auth)
73
+ run : npm install -g npm@^11.5.1
71
74
- name : Build Packages
72
75
run : |
73
76
npm ci
77
80
# Our scripts only publish versions that do not already exist.
78
81
- name : Publish to NPM
79
82
env :
80
- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
81
83
# https://docs.npmjs.com/generating-provenance-statements
82
84
NPM_CONFIG_PROVENANCE : true
83
85
run : npm run publish-all
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ typedoc
112
112
113
113
# IDE
114
114
.idea
115
+ .cursor /
115
116
116
117
# license files copied from root
117
118
packages /** /LICENSE
You can’t perform that action at this time.
0 commit comments