mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 14:32:46 +00:00
37 lines
610 B
YAML
37 lines
610 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20.15.1'
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9.4.0
|
|
run_install: false
|
|
|
|
- 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
|