Skip to content

Switch to react compiler #611

Switch to react compiler

Switch to react compiler #611

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
- name: Install site dependencies
run: npm ci --legacy-peer-deps
working-directory: site
# - name: Lint
# run: npm run lint
# working-directory: site
- name: Build site
run: npm run build
working-directory: site
- name: Deploy site
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: site/dist
clean: true
force: true