File tree Expand file tree Collapse file tree
js-api-client/.github/workflows
reactjs-components/.github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66name : Release a New Version
77
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : write
11+
812jobs :
913 releaseandpublish :
1014 name : Release on Github and Publish on NPM
@@ -16,21 +20,28 @@ jobs:
1620 - name : ⎔ Setup node
1721 uses : actions/setup-node@v5
1822 with :
19- node-version : 22
20- always-auth : true
23+ node-version : 24
2124 registry-url : ' https://registry.npmjs.org'
2225 scope : ' @crystallize'
2326
27+ - name : ⬆️ Upgrade npm
28+ run : npm i -g npm@11
29+
30+ - name : ⎔ Set up pnpm
31+ uses : pnpm/action-setup@v4
32+ with :
33+ version : 10.14.0
34+
2435 - name : 📥 Download deps
25- run : yarn install
36+ run : pnpm install
2637
2738 - name : 🏄 Run the tests
2839 env :
2940 CRYSTALLIZE_TENANT_ID : 6890ca9cd065ed6bcafdf9e5
3041 CRYSTALLIZE_TENANT_IDENTIFIER : js-api-client-integration-tests
3142 CRYSTALLIZE_ACCESS_TOKEN_ID : ${{ secrets.CRYSTALLIZE_ACCESS_TOKEN_ID }}
3243 CRYSTALLIZE_ACCESS_TOKEN_SECRET : ${{ secrets.CRYSTALLIZE_ACCESS_TOKEN_SECRET }}
33- run : yarn build && yarn test
44+ run : pnpm build && pnpm test
3445
3546 - name : 🏷 Create Release
3647 uses : actions/create-release@v1
4354 prerelease : false
4455
4556 - name : 📢 Publish to NPM
46- run : yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version
57+ run : npm publish --provenance --access public
4758 env :
48- NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
49- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60+ # Use OIDC for npm authentication instead of NPM_TOKEN
61+ NODE_AUTH_TOKEN : ' '
62+ NPM_TOKEN : ' '
Original file line number Diff line number Diff line change 55
66name : Release a New Version
77
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : write
11+
812jobs :
913 releaseandpublish :
1014 name : Release on Github and Publish on NPM
1115 runs-on : ubuntu-latest
1216 steps :
1317 - name : ⬇️ Checkout repo
14- uses : actions/checkout@v4
18+ uses : actions/checkout@v5
1519
1620 - name : ⎔ Setup node
17- uses : actions/setup-node@v4
21+ uses : actions/setup-node@v5
1822 with :
19- node-version : 22
20- always-auth : true
23+ node-version : 24
2124 registry-url : ' https://registry.npmjs.org'
2225 scope : ' @crystallize'
2326
27+ - name : ⬆️ Upgrade npm
28+ run : npm i -g npm@11
29+
30+ - name : ⎔ Set up pnpm
31+ uses : pnpm/action-setup@v4
32+ with :
33+ version : 10.14.0
34+
2435 - name : 📥 Download deps
25- run : yarn install
36+ run : pnpm install
2637
2738 - name : 🏄 Run the tests
28- run : yarn build && yarn test
39+ run : pnpm build && pnpm test
2940
3041 - name : 🏷 Create Release
3142 uses : actions/create-release@v1
3849 prerelease : false
3950
4051 - name : 📢 Publish to NPM
41- run : yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version
52+ run : npm publish --provenance --access public
4253 env :
43- NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
54+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ # Use OIDC for npm authentication instead of NPM_TOKEN
56+ NODE_AUTH_TOKEN : ' '
57+ NPM_TOKEN : ' '
Original file line number Diff line number Diff line change 55
66name : Release a New Version
77
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : write
11+
812jobs :
913 releaseandpublish :
1014 name : Release on Github and Publish on NPM
@@ -16,16 +20,23 @@ jobs:
1620 - name : ⎔ Setup node
1721 uses : actions/setup-node@v5
1822 with :
19- node-version : 22
20- always-auth : true
23+ node-version : 24
2124 registry-url : ' https://registry.npmjs.org'
2225 scope : ' @crystallize'
2326
27+ - name : ⬆️ Upgrade npm
28+ run : npm i -g npm@11
29+
30+ - name : ⎔ Set up pnpm
31+ uses : pnpm/action-setup@v4
32+ with :
33+ version : 10.14.0
34+
2435 - name : 📥 Download deps
25- run : yarn install
36+ run : pnpm install
2637
2738 - name : 🏄 Run the tests
28- run : yarn build && yarn test
39+ run : pnpm build && pnpm test
2940
3041 - name : 🏷 Create Release
3142 uses : actions/create-release@v1
3849 prerelease : false
3950
4051 - name : 📢 Publish to NPM
41- run : yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version
52+ run : npm publish --provenance --access public
4253 env :
43- NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
54+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ # Use OIDC for npm authentication instead of NPM_TOKEN
56+ NODE_AUTH_TOKEN : ' '
57+ NPM_TOKEN : ' '
Original file line number Diff line number Diff line change 11{
22 "name" : " @crystallize/schema" ,
3- "version" : " 6.3.0 " ,
3+ "version" : " 6.3.4 " ,
44 "license" : " MIT" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " https://github.com/CrystallizeAPI/schema"
8+ },
59 "exports" : {
610 "./catalogue" : {
711 "types" : " ./dist/catalogue/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments