The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
JavaScript aiai-agentsclaudeclaude-codeclicodexdeveloper-toolslazylazycodexoh-my-openagentomoopenaiorchestrationtypescript
ci: add lazycodex-ai npm publish workflow
YeonGyu-Kimb92010d3987f
diff --git a/.github/workflows/npm-ci.yml b/.github/workflows/npm-ci.ymlnew file mode 100644index 00000000..4b8cb470--- /dev/null+++ b/.github/workflows/npm-ci.yml@@ -0,0 +1,45 @@+name: NPM CI++on:+ push:+ branches: [main]+ paths:+ - "bin/**"+ - "test/**"+ - "package.json"+ - "package-lock.json"+ - ".github/workflows/npm-ci.yml"+ pull_request:+ branches: [main]+ paths:+ - "bin/**"+ - "test/**"+ - "package.json"+ - "package-lock.json"+ - ".github/workflows/npm-ci.yml"++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++jobs:+ test-pack:+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v4++ - name: Use Node.js 22.x+ uses: actions/setup-node@v4+ with:+ node-version: "22"+ cache: "npm"++ - name: Install dependencies+ run: npm ci++ - name: Test+ run: npm test++ - name: Dry-run package+ run: npm pack --dry-run --jsondiff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.ymlnew file mode 100644index 00000000..c7713316--- /dev/null+++ b/.github/workflows/npm-publish.yml@@ -0,0 +1,59 @@+name: Publish NPM Package++on:+ workflow_dispatch:+ inputs:+ version:+ description: "Package version to publish"+ required: true+ default: "0.2.0"++permissions:+ contents: write+ id-token: write++concurrency:+ group: npm-publish-${{ inputs.version }}+ cancel-in-progress: false++jobs:+ publish:+ runs-on: ubuntu-latest+ timeout-minutes: 15+ steps:+ - uses: actions/checkout@v4++ - name: Use Node.js 22.x+ uses: actions/setup-node@v4+ with:+ node-version: "22"+ registry-url: "https://registry.npmjs.org"+ cache: "npm"++ - name: Install dependencies+ run: npm ci++ - name: Verify requested version+ run: |+ set -euo pipefail+ actual="$(node -p "require('./package.json').version")"+ test "$actual" = "${{ inputs.version }}"++ - name: Test+ run: npm test++ - name: Dry-run package+ run: npm pack --dry-run --json++ - name: Publish to npm+ run: npm publish --provenance --access public++ - name: Create GitHub release+ env:+ GH_TOKEN: ${{ github.token }}+ run: |+ set -euo pipefail+ tag="v${{ inputs.version }}"+ git tag "$tag"+ git push origin "$tag"+ gh release create "$tag" --title "$tag" --notes "Release lazycodex-ai@${{ inputs.version }}"