Release Promotion Clean up (#8597)

This commit is contained in:
matt korwel
2025-09-16 23:47:05 -07:00
committed by GitHub
parent 4df8dbaa0d
commit 1a6e4a119e
7 changed files with 322 additions and 180 deletions

View File

@@ -64,7 +64,13 @@ runs:
DRY_RUN: '${{ inputs.dry-run }}'
RELEASE_TAG: '${{ inputs.release-tag }}'
run: |-
git add package.json npm-shrinkwrap.json packages/*/package.json
git add package.json packages/*/package.json
if [ -f npm-shrinkwrap.json ]; then
git add npm-shrinkwrap.json
fi
if [ -f package-lock.json ]; then
git add package-lock.json
fi
git commit -m "chore(release): ${RELEASE_TAG}"
if [[ "${DRY_RUN}" == "false" ]]; then
echo "Pushing release branch to remote..."

View File

@@ -5,20 +5,27 @@ inputs:
force_skip_tests:
description: 'Whether to force skip the tests.'
required: false
default: 'false'
type: 'boolean'
default: false
gemini_api_key:
description: 'The API key for running integration tests.'
required: true
working-directory:
description: 'The working directory to run the tests in.'
required: false
default: '.'
runs:
using: 'composite'
steps:
- name: 'Run Tests'
if: "inputs.force_skip_tests != 'true'"
if: '${{ !inputs.force_skip_tests }}'
env:
GEMINI_API_KEY: '${{ inputs.gemini_api_key }}'
working-directory: '${{ inputs.working-directory }}'
run: |-
npm run preflight
npm run build
npm run test:ci
npm run test:integration:sandbox:none
npm run test:integration:sandbox:docker
shell: 'bash'