Skip to content

Commit 61bedbb

Browse files
committed
Try using actions/setup-node to obviate sudo
1 parent cc391e1 commit 61bedbb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646

47+
- name: Setup Node
48+
uses: actions/setup-node@v6
49+
with:
50+
node-version: ${{ matrix.node-version }}
51+
4752
- name: Install pnpm
4853
uses: pnpm/action-setup@v4
4954
with:
@@ -58,7 +63,7 @@ jobs:
5863
# for publishes.
5964
- name: Upgrade npm for OIDC support
6065
run: |
61-
sudo npm install -g npm@11.11.0
66+
npm install -g npm@11.11.0
6267
echo "✅ npm upgraded to $(npm --version)"
6368
6469
- name: Create Release Pull Request or Publish to npm

0 commit comments

Comments
 (0)