Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

chore(deps): bump the tanstack group with 2 updates #109

chore(deps): bump the tanstack group with 2 updates

chore(deps): bump the tanstack group with 2 updates #109

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lockfile-check:
name: lockfile in sync with package.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Pin npm to match the version the lockfile was generated with
run: npm install -g npm@11.6.2
- name: Re-resolve lockfile from package.json
run: npm install --package-lock-only --ignore-scripts --no-audit --no-fund
- name: Fail if lockfile drifted
run: |
if ! git diff --exit-code package-lock.json; then
echo "::error::package-lock.json is out of sync with package.json. Run 'npm install' locally and commit the updated lockfile."
exit 1
fi
- name: Sanity-check npm ci against the committed lockfile
run: npm ci --ignore-scripts --dry-run
test:
name: typecheck + test + build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Pin npm to match the version the lockfile was generated with
run: npm install -g npm@11.6.2
- name: Install dependencies (no native compile)
# --ignore-scripts skips the postinstall Electron rebuild; tests
# run against stock Node and rely on `pretest` to rebuild
# better-sqlite3 for the Node ABI.
run: npm install --ignore-scripts
- name: Lint
run: npm run lint -- --max-warnings 0
- name: Typecheck (main + preload + shared)
run: npm run typecheck:node
- name: Typecheck (renderer)
run: npm run typecheck:web
- name: Unit tests
run: npm test
- name: electron-vite build
run: npm run build
- name: Upload build artifacts
if: success() && matrix.os == 'windows-latest'
uses: actions/upload-artifact@v7
with:
name: loopbridge-bundles-${{ github.sha }}
path: out/
retention-days: 7