Skip to content

Commit 55ade03

Browse files
authored
Revert "Configure NPM publishing with OIDC trusted publishers (#28)" (#31)
This reverts commit ef23383.
1 parent ef23383 commit 55ade03

File tree

2 files changed

+3
-51
lines changed

2 files changed

+3
-51
lines changed

.github/PUBLISHING.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/test-and-publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
needs: test
3636
runs-on: ubuntu-latest
3737
if: github.event_name == 'release' && github.event.action == 'created'
38-
permissions:
39-
contents: read
40-
id-token: write
4138
steps:
4239
- uses: actions/checkout@v3
4340

@@ -55,4 +52,6 @@ jobs:
5552
run: yarn build
5653

5754
- name: Publish to NPM
58-
run: npm publish --provenance --access public
55+
run: yarn publish --access public --non-interactive
56+
env:
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)