diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78dde93..b9df654 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,11 +31,8 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 - run: pnpm install - working-directory: packages/workflow - run: pnpm run build - working-directory: packages/workflow - run: pnpm run test - working-directory: packages/workflow - uses: changesets/action@v1 with: title: "Release @latest" diff --git a/package.json b/package.json index 5b31770..4cb9dcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "scripts": { "changeset": "changeset", + "test": "pnpm run --if-present --recursive test", "build": "pnpm run --if-present --recursive build", "release": "pnpm run build && changeset publish" },