From: Jérôme Benoit Date: Mon, 3 Apr 2023 18:17:25 +0000 (+0200) Subject: build: ensure pnpm will publish in CI even with uncommited changes X-Git-Tag: v2.4.0-2~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a454d5734637350c42e101c8027215b7dc0f240d;p=poolifier.git build: ensure pnpm will publish in CI even with uncommited changes Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 0fea6aae..040a1b2f 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -60,13 +60,13 @@ jobs: - name: Publish Release if: ${{ contains(steps.package-version.outputs.version, '-') == false }} - run: pnpm publish + run: pnpm publish --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish Pre-Release if: ${{ contains(steps.package-version.outputs.version, '-') == true }} - run: pnpm publish --tag next + run: pnpm publish --no-git-checks --tag next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}