Skip to content

feat(upgrade): run git pull and rebuild on source checkout upgrades #18

feat(upgrade): run git pull and rebuild on source checkout upgrades

feat(upgrade): run git pull and rebuild on source checkout upgrades #18

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: build + vitest (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [22]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
# version is read from package.json's `packageManager` field — don't
# pin it here, or pnpm/action-setup refuses with "Multiple versions
# of pnpm specified".
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build (tsc + copy assets)
run: pnpm run build
- name: Run vitest
run: pnpm test
- name: Run E2E regression (extract-vba-realfixtures)
run: pnpm exec vitest run __tests__/extraction-vba-realfixtures.test.ts