Skip to content

Keep prerelease desktop builds off latest #530

Keep prerelease desktop builds off latest

Keep prerelease desktop builds off latest #530

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
check:
runs-on: ubuntu-latest
env:
CONVEX_DEPLOYMENT: ${{ secrets.CONVEX_DEPLOYMENT }}
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 10.32.0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Fallow static audit
run: pnpm exec fallow --ci --production
continue-on-error: true
- run: pnpm audit:deps
- name: Verify Convex generated bindings without deployment
if: ${{ env.CONVEX_DEPLOYMENT == '' }}
env:
DIFF_BASE: ${{ github.event.pull_request.base.sha || github.event.before }}
DIFF_HEAD: ${{ github.event.pull_request.head.sha || github.sha }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
run: node scripts/verify-convex-generated-fallback.mjs
- name: Generate Convex bindings
if: ${{ env.CONVEX_DEPLOYMENT != '' }}
run: pnpm convex:codegen
- name: Verify Convex generated bindings
if: ${{ env.CONVEX_DEPLOYMENT != '' }}
run: git diff --exit-code -- convex/_generated
- run: pnpm check