Skip to content

Commit

Permalink
ci(changesets): write version bumps to package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wKovacs64 committed Oct 25, 2022
1 parent c49ea5f commit ae51440
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fast-ducks-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pwned': patch
---

Write version bumps to `package-lock.json`.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
version: npm run changeset:version
publish: npm run changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"scripts": {
"build": "babel src --extensions .js,.ts --out-dir lib --source-maps --ignore \"**/*.test.ts\",\"**/*.test.js\",\"**/__mocks__/\"",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:version": "changeset version && npm install --package-lock-only",
"changeset:publish": "changeset publish",
"check-types": "tsc",
"clean": "rimraf lib coverage",
Expand Down

0 comments on commit ae51440

Please sign in to comment.