Skip to content

Commit

Permalink
build: include package-lock changes when versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Sep 26, 2024
1 parent 6de975a commit 0c89066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
with:
createGithubReleases: false
publish: npm run publish
version: npm run version
title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }}
commit: >-
${{ github.ref_name == 'main' && 'chore(release): publish a new release version' || 'chore(release): publish a new pre-release version' }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"reset": "npm run clean:packages && npm run clean:packs && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install",
"prepare": "husky install",
"turbo": "turbo",
"changeset": "changeset"
"changeset": "changeset",
"version": "npm run changeset -- version && npm i"
},
"devDependencies": {
"@babel/core": "^7.24.7",
Expand Down

0 comments on commit 0c89066

Please sign in to comment.