Skip to content

Commit 31db38d

Browse files
talissoncostaclaude
andcommitted
fix(ci): install dependencies in publish job for prepack script
The publish job was failing because backstage-cli was not available when npm publish triggered the prepack lifecycle script. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4886a6b commit 31db38d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
with:
6363
node-version: '22'
6464
registry-url: 'https://registry.npmjs.org'
65+
cache: 'yarn'
66+
67+
- name: Install dependencies
68+
run: yarn install --frozen-lockfile
6569

6670
- name: Publish to NPM
67-
run: npm publish --access public
71+
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)