File tree Expand file tree Collapse file tree 3 files changed +747
-622
lines changed
Expand file tree Collapse file tree 3 files changed +747
-622
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Publish
33on :
44 workflow_dispatch :
55
6+ permissions :
7+ id-token : write # Required for OIDC
8+ contents : read
9+
610jobs :
711 release :
812 if : github.ref == 'refs/heads/main'
@@ -15,21 +19,16 @@ jobs:
1519 - name : Install pnpm
1620 uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1721
18- - name : Set node version to 22
22+ - name : Set node version to 24
1923 uses : actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
2024 with :
21- node-version : 22.22.0
25+ node-version : 24
2226 cache : ' pnpm'
2327
2428 - name : Prepare
2529 run : pnpm install --frozen-lockfile
2630
27- - name : Set publishing config
28- run : pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
29- env :
30- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
31-
3231 - name : Publish
3332 run : |
3433 PACKAGE_DIST_TAG=$(node -e "console.log(/^\d+\.\d+\.\d+(\-(\w+)\.\d+)$/.exec(require('./package.json').version)?.[2] || 'latest')")
35- pnpm publish --access public --tag $PACKAGE_DIST_TAG
34+ pnpm publish --access public --tag $PACKAGE_DIST_TAG --provenance
Original file line number Diff line number Diff line change 9393 "@stylistic/eslint-plugin" : " 5.7.0" ,
9494 "@testcontainers/postgresql" : " 11.11.0" ,
9595 "@types/config" : " 3.3.5" ,
96- "@types/node" : " 20.19.29 " ,
96+ "@types/node" : " 20.19.33 " ,
9797 "@types/pg" : " 8.16.0" ,
9898 "@types/yargs" : " 17.0.35" ,
9999 "@vitest/coverage-v8" : " 4.0.17" ,
131131 "optional" : true
132132 }
133133 },
134- "packageManager" : " pnpm@10.28.0 " ,
134+ "packageManager" : " pnpm@10.29.3 " ,
135135 "engines" : {
136136 "node" : " >=20.11.0"
137137 }
You can’t perform that action at this time.
0 commit comments