Skip to content

feat(api): run formatting checks on CI #363

feat(api): run formatting checks on CI

feat(api): run formatting checks on CI #363

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
ci:
name: CI (Build, Lint, Format, Check)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [18.x, 20.x]
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
node-version: ${{ matrix.node-version }}
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Format
run: pnpm format
- name: Check
run: pnpm check
- name: Build
run: pnpm build