Skip to content

fix: migrate from rc-config-loader to cosmiconfig for ESM config support (closes #1674) #2039

fix: migrate from rc-config-loader to cosmiconfig for ESM config support (closes #1674)

fix: migrate from rc-config-loader to cosmiconfig for ESM config support (closes #1674) #2039

Workflow file for this run

name: Lint & TypeCheck
on:
push:
branches:
- main
- '!dependabot/**'
pull_request:
branches:
- '**'
env:
FORCE_COLOR: 2
NODE: 24
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.changed_files > 0
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE }}
cache: npm
- name: Cache tsbuildinfo
uses: actions/cache@v3
with:
path: node_modules/.cache
key: tsbuildinfo-${{ runner.os }}-${{ hashFiles('**/tsconfig.json') }}
restore-keys: tsbuildinfo-${{ runner.os }}-
- name: Install npm dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run TypeScript type check
run: npm run typecheck