Skip to content

centralize common TypeScript configuration into root tsconfig.base.json #86

centralize common TypeScript configuration into root tsconfig.base.json

centralize common TypeScript configuration into root tsconfig.base.json #86

Workflow file for this run

name: CI
on:
pull_request:
env:
node_version: 20.x
jobs:
style:
name: Lint and Format
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Lint code
run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test