Skip to content

Commit

Permalink
Update package-lock.json when creating a new version
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed May 15, 2024
1 parent e8cb1dc commit 9de3b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"prerelease": "npm run compile",
"release": "changeset publish",
"start": "turbo --concurrency 19 watch watch-dev-server start",
"test": "turbo test"
"test": "turbo test",
"version": "changeset version",
"postversion": "npm install --package-lock-only"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down

0 comments on commit 9de3b0a

Please sign in to comment.