Skip to content

chore(esp32): ignore the IDF scaffolding pio emits #451

chore(esp32): ignore the IDF scaffolding pio emits

chore(esp32): ignore the IDF scaffolding pio emits #451

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.5.0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Product version sync
run: pnpm verify-version
- name: Build
run: pnpm build
- name: Type check
run: pnpm typecheck
- name: Test
run: pnpm test
env:
COLORTERM: truecolor
TZ: Asia/Seoul
- name: Coverage check
run: npx vitest run --coverage
env:
COLORTERM: truecolor
TZ: Asia/Seoul
- name: Preview mirror sync check
run: node scripts/check-preview-mirror-sync.mjs
# Backstop only — the same drift now fails locally in `pnpm test`
# (shared/src/__tests__/protocol-generated-sync.test.ts), which is what
# stops it reaching master in the first place. command-builders.ts is
# generated from protocol.ts too and was previously left ungated here.
- name: Protocol drift check
run: |
pnpm generate-protocol
if ! git diff --quiet generated/protocol/ shared/src/command-builders.ts; then
echo "::error::Protocol artifacts are out of sync with shared/src/*protocol.ts."
echo "::error::Run 'pnpm generate-protocol' locally and commit the result."
git diff generated/protocol/ shared/src/command-builders.ts
exit 1
fi