From 1c41bf17db735d5be5d725df1b2702aa1bc4b537 Mon Sep 17 00:00:00 2001 From: Prajna Date: Sun, 27 Aug 2023 10:52:53 +0800 Subject: [PATCH] chore: add test to release chore: add test to release chore: rm test from release.yml --- .github/workflows/release.yml | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c282839f..2100cf55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,9 @@ jobs: - name: Install Dependencies run: pnpm install --no-frozen-lockfile && ls -a && git status + # - name: Run Tests + # run: pnpm ci:test + - name: Create versions PR & prepare publish id: changesets uses: changesets/action@v1 diff --git a/package.json b/package.json index cc279db1..5b9ac0dc 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "changeset-publish": "changeset publish", "changeset-tag": "changeset tag", "ci:publish": "pnpm build-package && git status && pnpm publish -r --no-git-checks && pnpm changeset tag", + "ci:test": "pnpm test", "ci:version": "pnpm changelog && pnpx changeset version && pnpm install --no-frozen-lockfile && git add .", "clean": "turbo run clean", "deploy:dev": "./check-pm2.sh npm run build && pm2 startOrRestart ecosystem.config.js --env development",