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",