mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
switch to auth token
This commit is contained in:
@@ -61,15 +61,21 @@ jobs:
|
|||||||
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_OUTPUT
|
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_OUTPUT
|
||||||
echo "NPM_TAG=${NPM_TAG}" >> $GITHUB_OUTPUT
|
echo "NPM_TAG=${NPM_TAG}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Configure npm for publishing
|
# Set up Node *again* to update the `.npmrc` config
|
||||||
run: |
|
- name: Setup Node
|
||||||
echo "registry=https://wombat-dressing-room.appspot.com/" > .npmrc
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
|
||||||
echo "//wombat-dressing-room.appspot.com/:_authToken=${{ secrets.WOMBAT_TOKEN }}" >> .npmrc
|
with:
|
||||||
|
node-version-file: '.nvmrc'
|
||||||
|
cache: npm
|
||||||
|
registry-url: 'https://wombat-dressing-room.appspot.com'
|
||||||
|
scope: '@google'
|
||||||
|
|
||||||
- name: Build, Prepare, and Publish
|
- name: Build, Prepare, and Publish
|
||||||
run: npm run publish:npm
|
run: npm run publish:npm
|
||||||
env:
|
env:
|
||||||
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 }}
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets. WOMBAT_TOKEN }}
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
if: steps.run_type.outputs.NPM_DRY_RUN == ''
|
if: steps.run_type.outputs.NPM_DRY_RUN == ''
|
||||||
|
|||||||
Reference in New Issue
Block a user