Skip to content

Add Cloudflare build step to CI #2

Add Cloudflare build step to CI

Add Cloudflare build step to CI #2

Workflow file for this run

---
name: Build
on:
push:
branches: ["master", "main"]
pull_request:
branches: ["master", "main"]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
cache: "yarn"
- name: Run Cloudflare build
run: npx --yes @cloudflare/next-on-pages@1
- name: Upload output files
uses: actions/upload-artifact@v4
with:
name: Output Files
path: out/*