Skip to content

feat(site): add Tailwind docs page and playground example #7

feat(site): add Tailwind docs page and playground example

feat(site): add Tailwind docs page and playground example #7

Workflow file for this run

name: Site
on:
pull_request:
paths:
- 'apps/site/**'
- '.github/workflows/site.yml'
push:
branches:
- master
paths:
- 'apps/site/**'
- '.github/workflows/site.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_COLOR: 2
HUSKY: 0
NODE_VERSION: 22
defaults:
run:
working-directory: apps/site
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Yarn cache
uses: actions/cache@v4
env:
cache-name: yarn-cache-site
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('apps/site/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: yarn install --frozen-lockfile
# next build typechecks too, and it is the step that writes the
# gitignored next-env.d.ts a standalone tsc run needs
- name: Build
run: yarn build