Skip to content

Commit e7fe055

Browse files
authored
Merge branch 'main' into 0.6.0
2 parents 252843b + bcc9c14 commit e7fe055

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/actions/setup/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ inputs:
55
description: The version of Node.js to install
66
required: true
77
default: 23.7.0
8+
registry-url:
9+
description: Optional registry to set up for auth
810

911
runs:
1012
using: composite
@@ -16,6 +18,7 @@ runs:
1618
with:
1719
cache: pnpm
1820
node-version: ${{ inputs.node-version }}
21+
registry-url: ${{ inputs.registry-url }}
1922
- name: Install dependencies
2023
shell: bash
2124
run: pnpm install

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- name: Install dependencies
2525
uses: ./.github/actions/setup
26+
with:
27+
registry-url: "https://registry.npmjs.org"
28+
- name: Upgrade npm for OIDC support
29+
run: npm install -g npm@latest
2630
- name: Create Release Pull Request or Publish
2731
id: changesets
2832
uses: changesets/action@v1
@@ -31,4 +35,3 @@ jobs:
3135
publish: pnpm changeset-publish
3236
env:
3337
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)