Skip to content

Add test workflow

Add test workflow #2

Workflow file for this run

on:
pull_request:
push:
branch:
- 'main'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Install Node packages
run: pnpm i
- name: Check code format
run: pnpm check-format
- name: Run tests
run: pnpm test