Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci
Expand All @@ -45,8 +44,6 @@ jobs:
npm version "$PRERELEASE_VERSION" --no-git-tag-version

- name: Publish prerelease to npm
run: |
# Remove .npmrc to allow pure OIDC auth
rm -f ~/.npmrc
rm -f .npmrc
npm publish --provenance --tag next
run: npm publish --provenance --tag next
env:
NODE_AUTH_TOKEN: ''
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -54,8 +53,6 @@ jobs:

- name: Publish to npm
if: steps.check.outputs.should_publish == 'true'
run: |
# Remove .npmrc to allow pure OIDC auth
rm -f ~/.npmrc
rm -f .npmrc
npm publish --provenance --access public
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ''