Files
copilotkit__copilotkit/.github/workflows/publish-commit.yml
Alem Tuzlak b854810d71 ci: add stable NX_CI_EXECUTION_ID across all PR workflows
Parallel CI workflows were each getting a different Nx Cloud execution
ID, resulting in separate CIPEs instead of one unified view. Set a
stable NX_CI_EXECUTION_ID env var using head_ref + sha + run_attempt
so all workflows for the same push are grouped together. Also add
NX_CI_EXECUTION_ENV per workflow to create labeled tab sections in the
Nx Cloud CIPE page.
2026-03-06 13:36:23 +01:00

35 lines
850 B
YAML

name: 🚀 pkg-pr-new
on: [push, pull_request]
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
NX_CI_EXECUTION_ID: ${{ github.head_ref }}-${{ github.sha }}-${{ github.run_attempt }}
NX_CI_EXECUTION_ENV: "Publish Commit"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- run: npx pkg-pr-new publish --pnpm --packageManager pnpm "./packages/v1/*" "./packages/v2/*"