From 23efb99ba45aa6b6ed366c1d36d10e00c656f592 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Thu, 23 Apr 2026 12:22:16 -0700 Subject: [PATCH] ci: update package lockfile and docs with changesets release Co-Authored-By: Claude --- .github/maintainers_guide.md | 2 +- .github/workflows/release.yml | 2 +- package.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/maintainers_guide.md b/.github/maintainers_guide.md index 03e589062..677c5aa33 100644 --- a/.github/maintainers_guide.md +++ b/.github/maintainers_guide.md @@ -116,7 +116,7 @@ New official package versions are published when the release PR created from cha 1. **Check GitHub Milestones**: Before merging the release PR please check the relevant [Milestones](https://github.com/slackapi/node-slack-sdk/milestones). If issues or pull requests are still open either decide to postpone the release or save those changes for a future update. -2. **Review the release PR**: Verify that version bumps match expectations, `CHANGELOG` entries are clear, and CI checks pass on the `main` branch. Use `npm run docs` to generate documentation and `npm install` to update versions in the `package-lock.json` file. +2. **Review the release PR**: Verify that version bumps match expectations, `CHANGELOG` entries are clear, and CI checks pass on the `main` branch. 3. **Merge and approve**: Merge the release PR, then approve the [publish](https://github.com/slackapi/node-slack-sdk/actions/workflows/release.yml) workflow to release packages to npm. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad9c612f0..948787550 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: with: commit: "chore: release" title: "chore: release" - version: npm run changeset -- version + version: npm run version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 4ab48b775..7a62f1211 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "docs": "npm run docs --workspaces --if-present", "lint": "npx @biomejs/biome check packages", "lint:fix": "npx @biomejs/biome check --write packages", - "test": "npm test --workspaces --if-present" + "test": "npm test --workspaces --if-present", + "version": "npm run changeset version && npm install && npm run docs" }, "devDependencies": { "@biomejs/biome": "^2.0.5",