Skip to content

Commit

Permalink
Changesets: Update version in package-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
cyraxx committed Sep 2, 2024
1 parent 6066de5 commit 9cec877
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"test": "mocha 'tests/**/*test.ts'",
"build": "rimraf dist && node prebuild.js && tsc -p tsconfig.json; node postbuild.js",
"changeset": "changeset",
"version": "changeset version && npm install --package-lock-only",
"release": "npm run build && changeset publish"
}
}

0 comments on commit 9cec877

Please sign in to comment.