From 1118df213115cda4d18b20c27fa69ce0b2faeae4 Mon Sep 17 00:00:00 2001 From: Stefan Dimitrov Date: Tue, 3 Mar 2026 23:47:29 -0500 Subject: [PATCH] ci: build project before running semantic-release --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03e8b61..b183d5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: pull-requests: write steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: @@ -34,7 +36,9 @@ jobs: cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - run: pnpm install + - run: pnpm run dist - run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true