Skip to content

Merge branch 'main' of github.com:Automations-Project/VSCode-Airtable… #71

Merge branch 'main' of github.com:Automations-Project/VSCode-Airtable…

Merge branch 'main' of github.com:Automations-Project/VSCode-Airtable… #71

Workflow file for this run

name: CI
on:
push:
branches: ['**']
pull_request:
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- name: Verify npm tarball contents
shell: bash
run: |
set -euo pipefail
cd packages/mcp-server
# Fail the job if `npm pack --dry-run` itself fails (e.g. missing
# files listed in package.json "files", malformed package.json).
# `tee` preserves the status of the left-hand command via pipefail.
npm pack --dry-run 2>&1 | tee pack-output.txt
if grep -q "dev-tools/" pack-output.txt; then
echo "ERROR: dev-tools/ in tarball" && exit 1
fi
echo "Tarball contents clean"