Skip to content

feat: Splash 2.0 Milestone 1 - Provider Architecture & CLI Themes #7

feat: Splash 2.0 Milestone 1 - Provider Architecture & CLI Themes

feat: Splash 2.0 Milestone 1 - Provider Architecture & CLI Themes #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js ${{ 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: Typecheck
run: pnpm run typecheck
- name: Lint
run: pnpm run lint
continue-on-error: true
- name: Test
run: pnpm test
- name: Verify tarball contents
run: |
pnpm pack --dry-run 2>&1 | tee /tmp/pack-output.txt
# Ensure no .env files leak
if grep -q '\.env' /tmp/pack-output.txt; then
echo "::error::Tarball would include .env files!"
exit 1
fi