From 80da40f3d37dd4937efcd645cb31740aa4ce7bb3 Mon Sep 17 00:00:00 2001 From: Tyler Nickerson Date: Sun, 22 Sep 2024 13:14:14 -0700 Subject: [PATCH] fix(ci): update changeset command --- .github/workflows/release.yml | 2 +- happydom.ts | 3 --- package.json | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 happydom.ts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47574d7..155f6ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: pnpm run build && changeset publish + publish: pnpm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/happydom.ts b/happydom.ts deleted file mode 100644 index 7f712d0..0000000 --- a/happydom.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { GlobalRegistrator } from "@happy-dom/global-registrator"; - -GlobalRegistrator.register(); diff --git a/package.json b/package.json index 5c67f45..a748465 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "private": true, "scripts": { "build": "turbo run build", + "release": "pnpm run build && changeset publish", "dev": "turbo run dev", "test": "vitest", "clean": "rimraf -g packages/**/dist www/**/.vercel packages/**/.turbo www/**/.turbo www/**/.astro",