Skip to content

Merge pull request #1 from Anastasia-Labs/monorepo #5

Merge pull request #1 from Anastasia-Labs/monorepo

Merge pull request #1 from Anastasia-Labs/monorepo #5

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm i
- run: pnpm run lint && pnpm run build
- run: pnpm run format-check
- run: pnpm test