openai/codex-action

Public

mirrored from https://github.com/openai/codex-actionAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
db5cafce4c9327256f2add4e518b38ebed0bd41d

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

42lines · modecode

1name: Verify TypeScript Build
2
3on:
4 pull_request:
5 push:
6 branches:
7 - main
8
9jobs:
10 verify:
11 runs-on: ubuntu-latest
12 steps:
13 - name: Checkout repository
14 uses: actions/checkout@v5
15
16 - name: Setup pnpm
17 uses: pnpm/action-setup@v4
18 with:
19 run_install: false
20
21 - name: Setup Node.js
22 uses: actions/setup-node@v5
23 with:
24 node-version: 22
25 cache: "pnpm"
26
27 - name: Install dependencies
28 run: pnpm install --frozen-lockfile
29
30 - name: Typecheck
31 run: pnpm run check
32
33 - name: Build bundles
34 run: pnpm run build
35
36 - name: Ensure dist matches bundled output
37 run: |
38 if [[ -n "$(git status --porcelain dist)" ]]; then
39 echo '::error::Detected modified files in dist/ after running pnpm run build. Please rebuild locally and commit the updated bundles.'
40 git --no-pager diff dist
41 exit 1
42 fi
43