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