mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-14 05:17:18 -07:00
fix(ci): Reorder build steps to prevent lockfile inconsistency
Reorders the steps in the 'publish-bundle' job to run the bundle creation and size check *before* modifying the package.json files for release. This prevents the 'package-lock.json' from becoming out-of-sync, which was causing the 'npm ci' command in the bundle size action to fail.
This commit is contained in:
@@ -38,9 +38,6 @@ jobs:
|
||||
echo "@google-gemini:registry=https://npm.pkg.github.com/" > .npmrc
|
||||
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
|
||||
|
||||
- name: 'Prepare for GitHub release'
|
||||
run: 'node scripts/prepare-github-release.js'
|
||||
|
||||
- name: 'Bundle'
|
||||
run: 'npm run bundle'
|
||||
|
||||
@@ -54,6 +51,9 @@ jobs:
|
||||
compression: 'none'
|
||||
clean-script: 'clean'
|
||||
|
||||
- name: 'Prepare for GitHub release'
|
||||
run: 'node scripts/prepare-github-release.js'
|
||||
|
||||
- name: 'Set CI Version'
|
||||
id: 'version'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user