Skip to content

Commit 6d7f7e0

Browse files
committed
fix(ci): publish with provenance and access options
1 parent 369a7ed commit 6d7f7e0

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ jobs:
4040
- uses: actions/setup-node@v4
4141
if: steps.version.outputs.skip != 'true'
4242
with:
43-
node-version: 22
44-
registry-url: https://registry.npmjs.org
43+
node-version: 24
4544

4645
- name: Check if version exists
4746
if: steps.version.outputs.skip != 'true'
@@ -57,7 +56,7 @@ jobs:
5756
- name: Publish
5857
if: steps.version.outputs.skip != 'true' && steps.check.outputs.skip != 'true'
5958
working-directory: dist
60-
run: npm publish --tag ${{ steps.version.outputs.tag }}
59+
run: npm publish --provenance --access public --tag ${{ steps.version.outputs.tag }}
6160

6261
- name: Tag and Release
6362
if: github.event_name == 'push' && steps.version.outputs.skip != 'true' && steps.check.outputs.skip != 'true'

dnt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ await build({
3939
"context",
4040
],
4141
engines: {
42-
node: ">=22",
42+
node: ">=20",
4343
},
4444
main: "./esm/mod.js",
4545
types: "./esm/mod.d.ts",

0 commit comments

Comments
 (0)