Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 857643e

Browse files
committed
fix: Build 'dist' directory before publishing, since 'package.json' references it
1 parent 1b2d5d6 commit 857643e

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
registry-url: https://registry.npmjs.org/
2626
cache: npm
2727
- run: npm ci
28+
- run: npm run build
2829
- run: npm version ${TAG_NAME} --git-tag-version=false
2930
env:
3031
TAG_NAME: ${{ github.event.release.tag_name }}

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
registry-url: https://registry.npmjs.org/
2323
cache: npm
2424
- run: npm ci
25+
- run: npm run build
2526
- run: npm test
2627
- if: github.actor != 'dependabot[bot]'
2728
name: Upload coverage reports to Codecov

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
node_modules
21
coverage
2+
dist
3+
node_modules
4+
tsconfig.tsbuildinfo

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
coverage
2-
2+
tsconfig.tsbuildinfo

0 commit comments

Comments
 (0)