mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
linting
This commit is contained in:
@@ -34,9 +34,9 @@ jobs:
|
||||
run: 'npm ci'
|
||||
|
||||
- name: 'Setup NPMRC'
|
||||
uses: ./.github/actions/setup-npmrc
|
||||
uses: './.github/actions/setup-npmrc'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
|
||||
- name: 'Bundle'
|
||||
run: 'npm run bundle'
|
||||
|
||||
@@ -50,9 +50,9 @@ jobs:
|
||||
ref: '${{ github.event.inputs.branch_ref || github.ref }}'
|
||||
|
||||
- name: 'Setup NPMRC'
|
||||
uses: ./.github/actions/setup-npmrc
|
||||
uses: './.github/actions/setup-npmrc'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: 'npm install ${{ inputs.cli-package-name }}@${{ inputs.version }}'
|
||||
@@ -104,9 +104,9 @@ jobs:
|
||||
node-version: '20.x'
|
||||
|
||||
- name: 'Setup NPMRC'
|
||||
uses: ./.github/actions/setup-npmrc
|
||||
uses: './.github/actions/setup-npmrc'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: 'npm install @google-gemini/gemini-cli@${{ inputs.version }}'
|
||||
@@ -175,9 +175,9 @@ jobs:
|
||||
shell: 'pwsh'
|
||||
|
||||
- name: 'Setup NPMRC'
|
||||
uses: ./.github/actions/setup-npmrc
|
||||
uses: './.github/actions/setup-npmrc'
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: 'npm install ${{ inputs.cli-package-name }}@${{ inputs.version }}'
|
||||
@@ -218,4 +218,4 @@ jobs:
|
||||
echo "One or more E2E jobs failed."
|
||||
exit 1
|
||||
fi
|
||||
echo "All required E2E jobs passed!"
|
||||
echo "All required E2E jobs passed!"
|
||||
|
||||
@@ -45,13 +45,13 @@ jobs:
|
||||
|
||||
get-vars:
|
||||
name: 'Get Environment Variables'
|
||||
runs-on: ubuntu-latest
|
||||
environment: dev
|
||||
runs-on: 'ubuntu-latest'
|
||||
environment: 'dev'
|
||||
outputs:
|
||||
cli-package-name: ${{ steps.get-vars.outputs.cli-package-name }}
|
||||
cli-package-name: '${{ steps.get-vars.outputs.cli-package-name }}'
|
||||
steps:
|
||||
- id: get-vars
|
||||
run: echo "cli-package-name=${{ vars.CLI_PACKAGE_NAME }}" >> $GITHUB_OUTPUT
|
||||
- id: 'get-vars'
|
||||
run: 'echo ''cli-package-name=''''${{ vars.CLI_PACKAGE_NAME }}'''''' >> "$GITHUB_OUTPUT"'
|
||||
|
||||
e2e:
|
||||
name: 'E2E Checks'
|
||||
|
||||
Reference in New Issue
Block a user