Skip to content

Commit

Permalink
fix: run build prior to release (#166)
Browse files Browse the repository at this point in the history
* 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 <git@joshuakgoldberg.com>
  • Loading branch information
johnnyreilly and JoshuaKGoldberg committed Dec 26, 2022
1 parent 20b3a4e commit c83355b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
coverage/
cspell.json
pnpm-lock.yaml
src
tsconfig*.json
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
clearMocks: true,
coverage: {
all: true,
exclude: ["lib"],
include: ["src"],
reporter: ["html", "lcov"],

Expand Down

0 comments on commit c83355b

Please sign in to comment.