From e1e0eb7181bcc8676b84ecc0b06fabf67886e8e2 Mon Sep 17 00:00:00 2001 From: Dan Rumney Date: Sun, 5 May 2024 14:02:33 -0500 Subject: [PATCH] ci: ensure a release is built before it is published --- .github/workflows/publish-package.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index d2c3469a..42a1f250 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -20,6 +20,7 @@ jobs: registry-url: "https://registry.npmjs.org" scope: '@dancrumb' - run: yarn + - run: yarn build - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}