ci: add pull request workflow for tests and build (#73)

This commit is contained in:
Dominik Kundel 2026-03-31 12:56:09 -07:00 committed by GitHub
parent 64dc174d83
commit 65486f2878
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

35
.github/workflows/pull-request-ci.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: Pull Request CI
on:
pull_request:
permissions:
contents: read
jobs:
ci:
name: CI
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Codex CLI
run: npm install -g @openai/codex
- name: Run test suite
run: npm test
- name: Run build
run: npm run build