Skip to content

Create ci-pr workflow #2

Create ci-pr workflow

Create ci-pr workflow #2

Workflow file for this run

name: Build and Deploy (CloudFlare)
on:
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
# build and deploy main/PR
build:
name: Build site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# agent may give node which doesn't work for us
- uses: actions/setup-node@v3
with:
node-version: 18.2.0
# do site build
- name: Yarn build
env:
NODE_OPTIONS: '--openssl-legacy-provider'
run: |
yarn install
yarn run fix
yarn build