bolt.new/.github/workflows/ci.yaml

36 lines
576 B
YAML
Raw Normal View History

2024-07-10 16:44:39 +00:00
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
2024-07-11 19:25:19 +00:00
node-version: [20.15.1]
2024-07-10 16:44:39 +00:00
steps:
- name: Setup
uses: pnpm/action-setup@v4
with:
version: 9.4.0
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: pnpm install
- name: Run type check
run: pnpm run typecheck
- name: Run ESLint
run: pnpm run lint
- name: Run tests
run: pnpm run test