From 528ce0f07fdf0ad83cabfda5628ab5c0c0491287 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 22 Jan 2022 09:04:57 +1100 Subject: [PATCH] Add types check to publish workflow To avoid accidentally publishing broken typescript definitions to NPM in future. --- .github/workflows/npm-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0083fd9..e4e4922 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,6 +17,7 @@ jobs: node-version: 16 - run: npm ci - run: npm test + - run: npm run typings publish-npm: needs: build