access/.github/workflows/ci.yml
David Soria Parra 3c1d641add
Add prettier formatting and CI validation checks
- Add prettier with consistent formatting config
- Add format and format:check npm scripts
- Add prettier pre-commit hook
- Add validation and formatting checks to CI workflow
- Reformat all TypeScript and JSON files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 10:01:28 +00:00

42 lines
No EOL
768 B
YAML

name: CI
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
name: Build and Typecheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Setup Pulumi
uses: pulumi/actions@v6
with:
pulumi-version: '3.197.0'
- name: Install Pulumi packages
run: pulumi install
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Validate config
run: npm run validate
- name: Check formatting
run: npm run format:check