mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 00:51:25 -07:00
fix: separate npm install from publish config
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -40,7 +40,6 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
registry-url: 'https://wombat-dressing-room.appspot.com'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
@@ -72,10 +71,12 @@ jobs:
|
||||
echo "NPM_DRY_RUN=--dry-run" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Configure npm for publishing
|
||||
run: echo "//wombat-dressing-room.appspot.com/:_authToken=${{ secrets.WOMBAT_TOKEN }}" > .npmrc
|
||||
|
||||
- name: Build, Prepare, and Publish
|
||||
run: npm run publish:release
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.WOMBAT_TOKEN }}
|
||||
NPM_PUBLISH_TAG: ${{ steps.version.outputs.NPM_TAG }}
|
||||
NPM_DRY_RUN: ${{ steps.run_type.outputs.NPM_DRY_RUN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user