From 4c415280aae46a2ac974ca50941fe59b35db9e3d Mon Sep 17 00:00:00 2001 From: BilligsterUser Date: Mon, 27 Feb 2023 23:57:57 +0100 Subject: [PATCH] ci emit types on publish --- .github/workflows/npm-publish.yml | 1 + justfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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