fix: clean up some minor issues with .github/workflows/ci.yml (#4408)

This commit is contained in:
Michael Bolin
2025-09-28 15:31:17 -07:00
committed by GitHub
parent ff6dbff0b6
commit 79e51dd607

View File

@@ -1,7 +1,7 @@
name: ci name: ci
on: on:
pull_request: { branches: [main] } pull_request: {}
push: { branches: [main] } push: { branches: [main] }
jobs: jobs:
@@ -31,6 +31,7 @@ jobs:
- uses: facebook/install-dotslash@v2 - uses: facebook/install-dotslash@v2
- name: Stage npm package - name: Stage npm package
id: stage_npm_package
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
run: | run: |
@@ -40,13 +41,13 @@ jobs:
python3 ./codex-cli/scripts/build_npm_package.py \ python3 ./codex-cli/scripts/build_npm_package.py \
--release-version "$CODEX_VERSION" \ --release-version "$CODEX_VERSION" \
--pack-output "$PACK_OUTPUT" --pack-output "$PACK_OUTPUT"
echo "PACK_OUTPUT=$PACK_OUTPUT" >> "$GITHUB_ENV" echo "pack_output=$PACK_OUTPUT" >> "$GITHUB_OUTPUT"
- name: Upload staged npm package artifact - name: Upload staged npm package artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: codex-npm-staging name: codex-npm-staging
path: ${{ env.PACK_OUTPUT }} path: ${{ steps.stage_npm_package.outputs.pack_output }}
- name: Ensure root README.md contains only ASCII and certain Unicode code points - name: Ensure root README.md contains only ASCII and certain Unicode code points
run: ./scripts/asciicheck.py README.md run: ./scripts/asciicheck.py README.md