Skip to content

Commit

Permalink
ci: resolve lock automatically after versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
orionmiz committed Feb 1, 2024
1 parent 445b523 commit ffa4c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
uses: changesets/action@v1
with:
publish: yarn changeset publish
version: yarn changeset version
version: yarn changeset:version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"clean": "ultra -r clean",
"dev": "ultra -r --concurrency 100 dev",
"format": "eslint . --fix --ext .ts,.tsx --ignore-path .gitignore && prettier -w .",
"release": "yarn clean && yarn build && changeset && changeset version && changeset publish",
"release:canary": "yarn clean && yarn build && changeset pre enter canary && changeset && changeset version && changeset publish && changeset pre exit",
"changeset:version": "changeset version && yarn install --no-immutable",
"release": "yarn clean && yarn build && changeset && yarn changeset:version && changeset publish",
"release:canary": "yarn clean && yarn build && changeset pre enter canary && changeset && yarn changeset:version && changeset publish && changeset pre exit",
"test": "yarn build && ultra -r test",
"typecheck": "ultra -r typecheck",
"version": "yarn install && git stage yarn.lock"
Expand Down

0 comments on commit ffa4c06

Please sign in to comment.