10339 story #7758
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Typescript Reduce Type Errors | |
on: | |
pull_request: | |
jobs: | |
ReduceTypeErrors: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout USTC Staging | |
uses: actions/checkout@v4 | |
with: | |
repository: ustaxcourt/ef-cms | |
ref: staging | |
path: stagingBranch | |
- name: Checkout current branch | |
uses: actions/checkout@v4 | |
with: | |
path: branchToBeCompared | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.14.0' | |
- 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 |