Skip to content

Commit 3215908

Browse files
committed
Change npm publishing to new Trusted Publisher auth
1 parent 80d5a18 commit 3215908

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ jobs:
2626
run: pnpm build
2727
working-directory: library
2828
- name: Publish library
29-
run: pnpm publish --provenance --access public --no-git-checks
29+
run: pnpm publish --access public --no-git-checks
3030
working-directory: library
3131
continue-on-error: true
32-
env:
33-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3432

3533
library_jsr:
3634
name: Publish library to JSR
@@ -62,11 +60,9 @@ jobs:
6260
run: pnpm build.npm
6361
working-directory: packages/i18n
6462
- name: Publish i18n
65-
run: pnpm publish --provenance --access public --no-git-checks
63+
run: pnpm publish --access public --no-git-checks
6664
working-directory: packages/i18n
6765
continue-on-error: true
68-
env:
69-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7066

7167
i18n_jsr:
7268
name: Publish i18n to JSR
@@ -103,11 +99,9 @@ jobs:
10399
run: pnpm build
104100
working-directory: packages/to-json-schema
105101
- name: Publish to-json-schema
106-
run: pnpm publish --provenance --access public --no-git-checks
102+
run: pnpm publish --access public --no-git-checks
107103
working-directory: packages/to-json-schema
108104
continue-on-error: true
109-
env:
110-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
111105

112106
to_json_schema_jsr:
113107
name: Publish to-json-schema to JSR

0 commit comments

Comments
 (0)