Skip to content

Commit

Permalink
Use a script to prepare the patch release
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbjensen committed Sep 30, 2024
1 parent b3d3987 commit b994f27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history including tags

- name: Setup Node.js
uses: actions/setup-node@v3
Expand All @@ -41,9 +39,6 @@ jobs:
- name: Install dependencies
run: npm install

- name: Update Changelog
run: npm run update-changelog

- name: Publish to npm
run: npm publish
env:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"scripts": {
"build": "tsc --project tsconfig.json",
"check-prettier": "prettier src __tests__ --check",
"prepare-patch-release": "npm run update-changelog && git add CHANGELOG.md && npm version patch",
"prettier": "prettier src __tests__ --write",
"test": "jest --coverage",
"update-changelog": "npx ts-node scripts/update-changelog.ts",
Expand Down

0 comments on commit b994f27

Please sign in to comment.