Skip to content

Commit ace1dd8

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

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
if: steps.version.outputs.skip != 'true'
4242
with:
4343
node-version: 22
44-
registry-url: https://registry.npmjs.org
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)