Skip to content

Commit fbffb05

Browse files
committed
ci: Disable most github workflows
1 parent 0b5c485 commit fbffb05

8 files changed

Lines changed: 212 additions & 202 deletions

File tree

.github/workflows/ci.yml

Lines changed: 64 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: ci
2-
3-
on:
4-
pull_request: {}
5-
push: { branches: [main] }
6-
2+
on: {}
73
jobs:
84
build-test:
95
runs-on: ubuntu-latest
@@ -14,52 +10,66 @@ jobs:
1410
- name: Checkout repository
1511
uses: actions/checkout@v5
1612

17-
- name: Setup pnpm
18-
uses: pnpm/action-setup@v4
19-
with:
20-
run_install: false
21-
22-
- name: Setup Node.js
23-
uses: actions/setup-node@v5
24-
with:
25-
node-version: 22
26-
27-
- name: Install dependencies
28-
run: pnpm install --frozen-lockfile
29-
30-
# stage_npm_packages.py requires DotSlash when staging releases.
31-
- uses: facebook/install-dotslash@v2
32-
33-
- name: Stage npm package
34-
id: stage_npm_package
35-
env:
36-
GH_TOKEN: ${{ github.token }}
37-
run: |
38-
set -euo pipefail
39-
CODEX_VERSION=0.40.0
40-
OUTPUT_DIR="${RUNNER_TEMP}"
41-
python3 ./scripts/stage_npm_packages.py \
42-
--release-version "$CODEX_VERSION" \
43-
--package codex \
44-
--output-dir "$OUTPUT_DIR"
45-
PACK_OUTPUT="${OUTPUT_DIR}/codex-npm-${CODEX_VERSION}.tgz"
46-
echo "pack_output=$PACK_OUTPUT" >> "$GITHUB_OUTPUT"
47-
48-
- name: Upload staged npm package artifact
49-
uses: actions/upload-artifact@v5
50-
with:
51-
name: codex-npm-staging
52-
path: ${{ steps.stage_npm_package.outputs.pack_output }}
53-
54-
- name: Ensure root README.md contains only ASCII and certain Unicode code points
55-
run: ./scripts/asciicheck.py README.md
56-
- name: Check root README ToC
57-
run: python3 scripts/readme_toc.py README.md
58-
59-
- name: Ensure codex-cli/README.md contains only ASCII and certain Unicode code points
60-
run: ./scripts/asciicheck.py codex-cli/README.md
61-
- name: Check codex-cli/README ToC
62-
run: python3 scripts/readme_toc.py codex-cli/README.md
63-
64-
- name: Prettier (run `pnpm run format:fix` to fix)
65-
run: pnpm run format
13+
# on:
14+
# pull_request: {}
15+
# push: { branches: [main] }
16+
#
17+
# jobs:
18+
# build-test:
19+
# runs-on: ubuntu-latest
20+
# timeout-minutes: 10
21+
# env:
22+
# NODE_OPTIONS: --max-old-space-size=4096
23+
# steps:
24+
# - name: Checkout repository
25+
# uses: actions/checkout@v5
26+
#
27+
# - name: Setup pnpm
28+
# uses: pnpm/action-setup@v4
29+
# with:
30+
# run_install: false
31+
#
32+
# - name: Setup Node.js
33+
# uses: actions/setup-node@v5
34+
# with:
35+
# node-version: 22
36+
#
37+
# - name: Install dependencies
38+
# run: pnpm install --frozen-lockfile
39+
#
40+
# # stage_npm_packages.py requires DotSlash when staging releases.
41+
# - uses: facebook/install-dotslash@v2
42+
#
43+
# - name: Stage npm package
44+
# id: stage_npm_package
45+
# env:
46+
# GH_TOKEN: ${{ github.token }}
47+
# run: |
48+
# set -euo pipefail
49+
# CODEX_VERSION=0.40.0
50+
# OUTPUT_DIR="${RUNNER_TEMP}"
51+
# python3 ./scripts/stage_npm_packages.py \
52+
# --release-version "$CODEX_VERSION" \
53+
# --package codex \
54+
# --output-dir "$OUTPUT_DIR"
55+
# PACK_OUTPUT="${OUTPUT_DIR}/codex-npm-${CODEX_VERSION}.tgz"
56+
# echo "pack_output=$PACK_OUTPUT" >> "$GITHUB_OUTPUT"
57+
#
58+
# - name: Upload staged npm package artifact
59+
# uses: actions/upload-artifact@v5
60+
# with:
61+
# name: codex-npm-staging
62+
# path: ${{ steps.stage_npm_package.outputs.pack_output }}
63+
#
64+
# - name: Ensure root README.md contains only ASCII and certain Unicode code points
65+
# run: ./scripts/asciicheck.py README.md
66+
# - name: Check root README ToC
67+
# run: python3 scripts/readme_toc.py README.md
68+
#
69+
# - name: Ensure codex-cli/README.md contains only ASCII and certain Unicode code points
70+
# run: ./scripts/asciicheck.py codex-cli/README.md
71+
# - name: Check codex-cli/README ToC
72+
# run: python3 scripts/readme_toc.py codex-cli/README.md
73+
#
74+
# - name: Prettier (run `pnpm run format:fix` to fix)
75+
# run: pnpm run format
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)