Skip to content

Commit 4e055ac

Browse files
dlabajclaude
andcommitted
fix(ci): use npm ci against lockfile in promote workflow
The promote workflow ran `yarn install --frozen-lockfile`, but there is no yarn.lock in the repo, so yarn resolved dependencies fresh and pulled a newer @types/node whose ffi.d.ts the build's TypeScript parser cannot handle. This broke the v6.6.0 and v6.7.0 promotions. Switch to `npm ci && npm run build` so promotion uses the same pinned dependency set (package-lock.json) as the release and PR build workflows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 9713c04 commit 4e055ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/promote.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Build for promotion
17-
run: yarn install --frozen-lockfile && yarn build
1816
- uses: actions/setup-node@v4
1917
with:
2018
node-version: '20.x'
2119
registry-url: 'https://registry.npmjs.org'
20+
- name: Build for promotion
21+
run: npm ci && npm run build
2222
- name: GitHub Tag Name example
2323
run: |
2424
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"

0 commit comments

Comments
 (0)