Renovate typescript-eslint monorepo to ^8.7.0 #988
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: Static Analysis | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
name: 'analyze' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Setup Node | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 | |
with: | |
cache: 'pnpm' | |
node-version: '20' | |
- name: Install | |
run: pnpm install | |
- name: Generate types | |
run: pnpm build:types | |
- name: Typecheck | |
run: pnpm typecheck | |
- name: ESLint | |
if: ${{ always() }} | |
run: pnpm lint:es | |
- name: Prettier | |
if: ${{ always() }} | |
run: pnpm lint:md |