Skip to content

10007 story

10007 story #5242

name: Typescript Reduce Type Errors
on:
pull_request:
push:
branches:
- dependency-updates
jobs:
ReduceTypeErrors:
runs-on: ubuntu-latest
steps:
- name: Checkout USTC Staging
uses: actions/checkout@v3
with:
repository: ustaxcourt/ef-cms
ref: staging
path: stagingBranch
- name: Checkout current branch
uses: actions/checkout@v3
with:
path: branchToBeCompared
- uses: actions/setup-node@v3
with:
node-version: '18.16.1'
- name: NPM Install in your branch
working-directory: ./branchToBeCompared
run: npm ci
- name: NPM Install in staging
working-directory: ./stagingBranch
run: npm ci
- name: Compare errors between your branch and staging
working-directory: ./branchToBeCompared
run: npx ts-node scripts/compareTypescriptErrors.ts