Skip to content

wip

wip #248

Workflow file for this run

name: CI
on:
workflow_call:
inputs:
environment:
required: true
type: string
push:
paths:
- 'packages/**'
- './**'
- '.github/workflows/CI.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
- 'turbo.json'
- 'biome.json'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
typecheck:
name: 'Typechecking'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/install
- name: 'Doing the typecheck'
run: pnpm turbo typecheck
linting:
name: 'Linting'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/install
- name: 'Running lint'
run: pnpm turbo lint
test:
name: 'Tests'
runs-on: ubuntu-latest
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/install
- name: 'Running Unit Tests'
run: pnpm turbo test
build:
name: 'Builds'
runs-on: ubuntu-latest
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/install
- name: 'Building'
run: pnpm turbo build