Skip to content

docs: πŸ“ add tutor instructions #76

docs: πŸ“ add tutor instructions

docs: πŸ“ add tutor instructions #76

Workflow file for this run

name: CI
on:
- push
- workflow_dispatch
jobs:
build:
name: πŸ“¦ Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- run: pnpm nx affected -t build
lint:
name: 🧹 Lint
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- run: pnpm nx affected -t lint
sanity-check:
name: 🧹 Sanity Check
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- run: pnpm nx run tools:sanity-check
test:
name: ⚑️ Vitest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- run: pnpm nx affected -t test
typecheck:
name: πŸ› οΈ Typecheck
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- run: pnpm nx affected -t typecheck
deploy-gh-pages:
name: πŸš€ Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04
needs:
- build
- lint
- sanity-check
- test
- typecheck
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- name: Build docs
run: pnpm nx build docs
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4