We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aef400 commit f550204Copy full SHA for f550204
1 file changed
.github/workflows/publish.yaml
@@ -13,7 +13,7 @@ permissions:
13
jobs:
14
publish:
15
name: Publish to NPM
16
- runs-on: ubuntu-latest
+ runs-on: "depot-ubuntu-24.04-small"
17
steps:
18
- uses: actions/checkout@v6
19
- uses: "pnpm/action-setup@v4"
@@ -27,7 +27,9 @@ jobs:
27
# Ensure npm 11.5.1 or later is installed;
28
# this is required for publishing using OIDC authn
29
- name: "Update npm"
30
- run: "npm install -g npm@latest"
+ # NOTE: sudo is needed here because the original npm is installed
31
+ # with sudo on npm images.
32
+ run: "sudo npm install -g npm@latest"
33
- name: "Install dependencies"
34
run: "pnpm install"
35
# Set the version in package.json to match the tag
0 commit comments