Skip to content

build: date-fns as regular dependency #1737

build: date-fns as regular dependency

build: date-fns as regular dependency #1737

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: 9.4.0
- 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: 9.4.0
- 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: 9.4.0
- 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