Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
with:
bun-version-file: .bun-version

- name: Setup Node.js (for npm with OIDC support)
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: Configure git
run: |
git config user.name "github-actions[bot]"
Expand Down Expand Up @@ -249,11 +255,6 @@ jobs:
echo " Already published: ${{ steps.check_published.outputs.published }}"
npm pack --dry-run

- name: Setup NPM authentication
if: ${{ !inputs.dry_run && steps.check_published.outputs.published == 'false' }}
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Publish to NPM
if: ${{ !inputs.dry_run && steps.check_published.outputs.published == 'false' }}
working-directory: packages/uniwind
Expand Down