Skip to content

Commit c83355b

Browse files
fix: run build prior to release (#166)
* fix: run build prior to release * fix: exclude src * fix: don't run tests in lib folder - they'll error * Update .npmignore Co-authored-by: Josh Goldberg <[email protected]>
1 parent 20b3a4e commit c83355b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515
- uses: ./.github/actions/prepare
16+
- run: pnpm build
1617
- run: git config user.name "${GITHUB_ACTOR}"
1718
- run: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
1819
- env:

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
coverage/
88
cspell.json
99
pnpm-lock.yaml
10+
src
1011
tsconfig*.json

vitest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
clearMocks: true,
66
coverage: {
77
all: true,
8+
exclude: ["lib"],
89
include: ["src"],
910
reporter: ["html", "lcov"],
1011

0 commit comments

Comments
 (0)