Skip to content

Chore(deps-dev): Bump typescript-eslint from 8.42.0 to 8.43.0 (#56) #71

Chore(deps-dev): Bump typescript-eslint from 8.42.0 to 8.43.0 (#56)

Chore(deps-dev): Bump typescript-eslint from 8.42.0 to 8.43.0 (#56) #71

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: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Generate & verify OpenAPI spec
run: |
npm run openapi
npx 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: Prettify code
run: npm run prettify
- name: Deploy to Cloudflare Workers
run: npx wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}