Skip to content

Fix Cloudflare StaticSite SPA routing and docs #663

Fix Cloudflare StaticSite SPA routing and docs

Fix Cloudflare StaticSite SPA routing and docs #663

Workflow file for this run

name: check
on:
pull_request:
branches:
- dev
types: [opened, synchronize, reopened]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ">=1.23.2"
cache: true
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Download Go modules
run: go mod download
- name: Check types
run: cd platform && bun tsc --noEmit
- name: Build platform
run: ./platform/scripts/build
env:
DOCKER_PUSH: false
- name: Run Go tests
run: go test -vet=all ./...
- name: Build CLI
run: go build -o sst ./cmd/sst
- name: Build docs
run: cd www && bun run build