Skip to content

Add CI Workflow and Code Formatting #2

Add CI Workflow and Code Formatting

Add CI Workflow and Code Formatting #2

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.12.1
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check formatting
run: pnpm run format:check
- name: Type check
run: pnpm run type-check
- name: Build
run: pnpm run build