From ffa4c06653c95127c0ec61ba4ccc10802cf51dc4 Mon Sep 17 00:00:00 2001 From: "JH.Lee" Date: Thu, 1 Feb 2024 17:30:16 +0900 Subject: [PATCH] ci: resolve lock automatically after versioning --- .github/workflows/release.yml | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d9238af6..447f04b2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/package.json b/package.json index 73af42613..2989c924e 100644 --- a/package.json +++ b/package.json @@ -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"