Skip to content

repo: add a test website #1629

repo: add a test website

repo: add a test website #1629

Workflow file for this run

name: website
on:
release:
types: [published]
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-react-day-picker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.6.2
- uses: actions/setup-node@v4
with:
node-version: 18.16
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- uses: actions/upload-artifact@v4
with:
name: rdp-dist
path: dist
typecheck-website:
needs: [build-react-day-picker]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.6.2
- uses: actions/setup-node@v4
with:
node-version: 18.16
cache: pnpm
- uses: actions/download-artifact@v4
with:
name: rdp-dist
path: dist
- run: pnpm install --frozen-lockfile
- run: pnpm -F website typecheck
build-website:
needs: [build-react-day-picker]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.6.2
- uses: actions/setup-node@v4
with:
node-version: 18.16
cache: pnpm
- uses: actions/download-artifact@v4
with:
name: rdp-dist
path: dist
- run: pnpm install --frozen-lockfile
- run: pnpm -F website build
- uses: actions/upload-artifact@v4
with:
name: website-build
path: website/build