Skip to content

migrated to turborepo, tsup & next.js #2

migrated to turborepo, tsup & next.js

migrated to turborepo, tsup & next.js #2

Workflow file for this run

name: Quality
on:
push:
branches:
# TODO: This will be replaced with `main` later.
- monorepo
# To cancel previous workflow when a new one is triggered.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Run format check
run: npm run format
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Run lint check
run: npm run lint
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Run type check
run: npm run typecheck
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Run build
run: npm run build