Skip to content

Introduce ci checks and static analysis #3

Introduce ci checks and static analysis

Introduce ci checks and static analysis #3

Workflow file for this run

name: CI Lint and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm ci
- run: npx prettier --check .
- run: npm run lint:ci
- run: npm run type-check
- run: npm test