From f3b105c216123ea0593a3c6d1ba347bff8f7f04c Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Sat, 2 Nov 2024 21:39:14 -0500 Subject: [PATCH] fix(semantic-release): run build on code release --- .github/workflows/npm-publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bc3ce06..cffd35d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -24,12 +24,13 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "lts/*" - - name: Install dependencies - run: npm clean-install + - run: npm clean-install + - run: npm test + - run: npm run build - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies run: npm audit signatures - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - run: npx semantic-release \ No newline at end of file + run: npx semantic-release