refactor: update ts-morph to 24.0 to match TS 5.6.2 #6255
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: Quality | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run Prettier | |
run: pnpm prettier | |
tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run tests | |
run: pnpm test && pnpm test:codegen | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run ESLint | |
run: pnpm lint | |
env: | |
NODE_OPTIONS: "--max-old-space-size=4096" | |
types: | |
name: TypeScript | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run TypeScript type check | |
run: pnpm typecheck |