Skip to content

fix(points): optimize batch point updates and deletes #111

fix(points): optimize batch point updates and deletes

fix(points): optimize batch point updates and deletes #111

Workflow file for this run

name: Deploy Core
on:
push:
branches: [main]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Generate & verify OpenAPI spec
run: |
bun run openapi
bun run prettier --write openapi.json || true
if ! git diff --quiet openapi.json; then
echo "::error::openapi.json is out of date. Run the OpenAPI Update PR workflow (or re-run it) so the spec is committed before merging to main.";
echo "Changes detected:";
git --no-pager diff --name-only openapi.json;
exit 1;
fi
- name: Deploy to Cloudflare Workers
run: bun run wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}