diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index de5596f..fe6c5d6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,6 +16,7 @@ jobs: - run: just install-dependencies - run: just build - run: just test + - run: just emit-types - uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_TOKEN }} diff --git a/justfile b/justfile index c010aeb..509adc6 100644 --- a/justfile +++ b/justfile @@ -12,9 +12,9 @@ test: build test-only file: build jest {{file}} -type-check: +emit-types: tsc publish: build - types + emit-types npm publish