@@ -36,6 +36,10 @@ inputs:
3636 description : ' The working directory to run the steps in.'
3737 required : false
3838 default : ' .'
39+ force-skip-tests :
40+ description : ' Skip tests and validation'
41+ required : false
42+ default : false
3943
4044runs :
4145 using : ' composite'
@@ -107,7 +111,7 @@ runs:
107111 npm publish \
108112 --dry-run="${{ inputs.dry-run }}" \
109113 --workspace="@google/gemini-cli-core" \
110- --tag="${{ inputs.npm -tag }}"
114+ --no -tag
111115
112116 - name : ' 🔗 Install latest core package'
113117 working-directory : ' ${{ inputs.working-directory }}'
@@ -127,7 +131,31 @@ runs:
127131 npm publish \
128132 --dry-run="${{ inputs.dry-run }}" \
129133 --workspace="@google/gemini-cli" \
130- --tag="${{ inputs.npm-tag }}"
134+ --no-tag
135+
136+ - name : ' 🔬 Verify NPM release by version'
137+ uses : ' ./.github/actions/verify-release'
138+ if : " ${{ inputs.dry-run == 'false' && inputs.force-skip-tests == 'false' }}"
139+ with :
140+ npm-package : ' @google/gemini-cli@${{ inputs.release-version }}'
141+ expected-version : ' ${{ inputs.release-version }}'
142+ ref : ' ${{ steps.release_branch.outputs.BRANCH_NAME }}'
143+
144+ - name : ' 🏷️ Tag release'
145+ uses : ' ./.github/actions/tag-npm-release'
146+ if : " ${{ inputs.dry-run == 'false' }}"
147+ with :
148+ channel : ' ${{ inputs.npm-tag }}'
149+ version : ' ${{ inputs.release-version }}'
150+ dry-run : ' ${{ inputs.dry-run }}'
151+ wombat-token-core : ' ${{ inputs.wombat-token-core }}'
152+ wombat-token-cli : ' ${{ inputs.wombat-token-cli }}'
153+
154+ - name : ' Install deps'
155+ working-directory : ' ${{ inputs.working-directory }}'
156+ shell : ' bash'
157+ run : |
158+ npm install
131159
132160 - name : ' 🎁 Bundle'
133161 working-directory : ' ${{ inputs.working-directory }}'
@@ -137,7 +165,7 @@ runs:
137165
138166 - name : ' 🎉 Create GitHub Release'
139167 working-directory : ' ${{ inputs.working-directory }}'
140- if : " ${{ inputs.dry-run == 'false' && inputs.skip-github-release == 'false' }}"
168+ if : " ${{ inputs.dry-run == 'false' && inputs.skip-github-release == 'false' && inputs.npm-tag != 'dev' }}"
141169 env :
142170 GITHUB_TOKEN : ' ${{ inputs.github-token }}'
143171 shell : ' bash'
0 commit comments