Skip to content

Commit 2e0395b

Browse files
authored
ci: update package lockfile and docs with changesets release (#2559)
1 parent 4a6f65f commit 2e0395b

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/maintainers_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ New official package versions are published when the release PR created from cha
116116

117117
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.
118118

119-
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.
119+
2. **Review the release PR**: Verify that version bumps match expectations, `CHANGELOG` entries are clear, and CI checks pass on the `main` branch.
120120

121121
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.
122122

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
commit: "chore: release"
3939
title: "chore: release"
40-
version: npm run changeset -- version
40+
version: npm run version
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"docs": "npm run docs --workspaces --if-present",
2424
"lint": "npx @biomejs/biome check packages",
2525
"lint:fix": "npx @biomejs/biome check --write packages",
26-
"test": "npm test --workspaces --if-present"
26+
"test": "npm test --workspaces --if-present",
27+
"version": "npm run changeset version && npm install && npm run docs"
2728
},
2829
"devDependencies": {
2930
"@biomejs/biome": "^2.0.5",

0 commit comments

Comments
 (0)