Skip to content

ci: setup CI

ci: setup CI #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
environment: ci
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm test:coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
check:
runs-on: ubuntu-latest
environment: ci
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm check
- run: pnpm type-check
build:
runs-on: ubuntu-latest
environment: ci
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: pnpm build