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