Skip to content

TypeScript Migration and Modernization #2

TypeScript Migration and Modernization

TypeScript Migration and Modernization #2

Workflow file for this run

name: TS Migration CI
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- name: Phase verify (lint + strict typecheck + tests)
run: ENABLE_TYPECHECK=1 node scripts/phases-verify.mjs
- name: Generate migration progress
run: node scripts/migration-progress.mjs
- uses: actions/upload-artifact@v4
with:
name: migration-progress
path: MIGRATION_PROGRESS.md
checkpoint:
if: contains(github.event.pull_request.title, '[checkpoint]')
runs-on: ubuntu-latest
needs: build-test
environment: ts-migration-checkpoint
steps:
- run: |
echo "Checkpoint gate active."
echo "A maintainer must approve the 'ts-migration-checkpoint' environment to proceed."