Skip to content

Update react monorepo to v19 (major) #843

Update react monorepo to v19 (major)

Update react monorepo to v19 (major) #843

Workflow file for this run

name: Website
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cancel-previous:
name: Cancel Previous
permissions:
contents: read
actions: write
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Build
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
build:
name: Build
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: 'website/yarn.lock'
- name: Lint
run: make lint-docs
- name: Install Dependencies
working-directory: website/
run: yarn install
- name: Build the Website
working-directory: website/
run: yarn build
- name: Deploy Github Pages (only on main)
uses: JamesIves/[email protected]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: website/build/