From 99dab11daa5e9107c4ccd3569d95ca2790a35674 Mon Sep 17 00:00:00 2001 From: Marcus Schiesser Date: Thu, 11 Sep 2025 12:56:20 +0800 Subject: [PATCH] docs: release docs and update release script (#176) --- .changeset/clear-toys-pick.md | 5 +++++ .github/workflows/release.yml | 8 ++++++++ lint-staged.config.ts | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .changeset/clear-toys-pick.md diff --git a/.changeset/clear-toys-pick.md b/.changeset/clear-toys-pick.md new file mode 100644 index 0000000..b802a30 --- /dev/null +++ b/.changeset/clear-toys-pick.md @@ -0,0 +1,5 @@ +--- +"@llamaindex/workflow-docs": patch +--- + +Updated docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93d2593..f1b7fda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: branches: - main +permissions: + id-token: write # Required for OIDC + contents: read + concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: @@ -18,7 +22,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: 22 + registry-url: 'https://registry.npmjs.org' cache: "pnpm" + # Ensure npm 11.5.1 or later is installed for trusted publishing + - name: Update npm + run: npm install -g npm@latest - name: Install dependencies run: pnpm install - name: Generate API Documentation diff --git a/lint-staged.config.ts b/lint-staged.config.ts index 28f8576..8445906 100644 --- a/lint-staged.config.ts +++ b/lint-staged.config.ts @@ -1,5 +1,5 @@ import type { Configuration } from "lint-staged"; export default { - "*": ["biome check"], + "*": ["biome check --no-errors-on-unmatched"], } satisfies Configuration;