From 6d95b40989b19e4632ffecfab209941adc8053af Mon Sep 17 00:00:00 2001 From: ubermanu Date: Wed, 19 Jul 2023 19:22:03 +0200 Subject: [PATCH] fix: build before publish --- .github/workflows/npm-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index febdc4d6..77e9a19e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,6 +23,8 @@ jobs: with: version: 8.2.0 - run: pnpm i + - run: pnpm build + - run: pnpm -r build - run: pnpm publish -r --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}