Skip to content

added video

added video #577

Workflow file for this run

name: CI
on:
push:
# https://pnpm.io/continuous-integration#github-actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 💾 Checkout code
uses: actions/checkout@v4
# - name: 📦 Cache NextJS
# uses: actions/cache@v4
# with:
# path: |
# ${{ github.workspace }}/.next/cache
# # Generate a new cache whenever packages or source files change.
# key: ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# # If source files changed but packages didn't, rebuild from a prior cache.
# restore-keys: |
# ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-
- uses: pnpm/action-setup@v4
name: 📦 Install pnpm
with:
run_install: false
version: 10
- name: 📦 Set up Node.js with cache
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: 📦 Install dependencies
run: pnpm install
- name: 🔍 Compile check
run: tsc --skipLibCheck --noEmit
- name: 🧹 Run linter
run: pnpm lint
- name: 🧹 Run formatter
run: pnpm format:check
- name: 🧪 Run tests
run: pnpm test:run