diff --git a/.github/workflows/agent-release.yml b/.github/workflows/agent-release.yml index 1acd879b..8540ab99 100644 --- a/.github/workflows/agent-release.yml +++ b/.github/workflows/agent-release.yml @@ -1,4 +1,4 @@ -name: Release +name: Release Agent on: push: @@ -22,7 +22,9 @@ jobs: is-new-version: ${{ steps.check-package-version.outputs.is-new-version }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 + with: + persist-credentials: false - name: Check package version and detect an update id: check-package-version @@ -40,23 +42,29 @@ jobs: id-token: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Setup pnpm + uses: pnpm/action-setup@v4 - name: Set up Node 24 uses: actions/setup-node@v4 with: node-version: 24 + cache: "pnpm" registry-url: https://registry.npmjs.org - - name: Install pnpm - run: npm install -g pnpm - - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build the package run: pnpm --filter agent run build + - name: Run tests + run: pnpm --filter agent run test + - name: Publish the package to npm registry working-directory: packages/agent run: pnpm publish --access public diff --git a/.github/workflows/release.yml b/.github/workflows/array-release.yml similarity index 97% rename from .github/workflows/release.yml rename to .github/workflows/array-release.yml index 3de50836..9bc6c305 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/array-release.yml @@ -1,4 +1,4 @@ -name: Publish Release +name: Release Array on: push: @@ -11,11 +11,11 @@ on: - "pnpm-lock.yaml" - "package.json" - "turbo.json" - - ".github/workflows/release.yml" + - ".github/workflows/array-release.yml" concurrency: - group: release - cancel-in-progress: true + group: array-release + cancel-in-progress: false jobs: publish: @@ -42,6 +42,7 @@ jobs: with: fetch-depth: 0 token: ${{ steps.app-token.outputs.token }} + persist-credentials: false - name: Setup pnpm uses: pnpm/action-setup@v4 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9b6f322..34fce9f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: persist-credentials: false diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index b617ea85..751f881e 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,4 +1,4 @@ -name: Code quality +name: Code Quality on: pull_request: @@ -14,7 +14,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: persist-credentials: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ed826f0..03a9b8dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: persist-credentials: false diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 2fc5280a..8c7426a5 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -14,7 +14,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: persist-credentials: false