From f6293f5e336b5505afb099d965a5cec1a08ec73d Mon Sep 17 00:00:00 2001 From: John Reilly Date: Mon, 26 Dec 2022 05:14:40 +0000 Subject: [PATCH 1/4] fix: run build prior to release --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb4b0ac58..9ed288295 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ jobs: with: fetch-depth: 0 - uses: ./.github/actions/prepare + - run: pnpm build - run: git config user.name "${GITHUB_ACTOR}" - run: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - env: From 663b73e003d78228b76e2a9bf7375be493f160af Mon Sep 17 00:00:00 2001 From: John Reilly Date: Mon, 26 Dec 2022 05:17:38 +0000 Subject: [PATCH 2/4] fix: exclude src --- .npmignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmignore b/.npmignore index 681007abe..8fc3225d1 100644 --- a/.npmignore +++ b/.npmignore @@ -8,3 +8,4 @@ coverage/ cspell.json pnpm-lock.yaml tsconfig*.json +src From 834cf95b0fb5ecf4f068dc02dbe613715a64d897 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Mon, 26 Dec 2022 09:00:35 +0000 Subject: [PATCH 3/4] fix: don't run tests in lib folder - they'll error --- vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vitest.config.ts b/vitest.config.ts index f6fe94f69..ec79b6747 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -5,6 +5,7 @@ export default defineConfig({ clearMocks: true, coverage: { all: true, + exclude: ["lib"], include: ["src"], reporter: ["html", "lcov"], From 4a7f05562c81059c6097554eca5a64341b7ced77 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 26 Dec 2022 10:33:33 -0500 Subject: [PATCH 4/4] Update .npmignore --- .npmignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 8fc3225d1..010831c6e 100644 --- a/.npmignore +++ b/.npmignore @@ -7,5 +7,5 @@ coverage/ cspell.json pnpm-lock.yaml -tsconfig*.json src +tsconfig*.json