From 586a001d81c85e6f203710f94e944989a0f0a3cc Mon Sep 17 00:00:00 2001 From: Minsu Kim Date: Sat, 22 Jun 2024 10:39:34 +0000 Subject: [PATCH] :alien: hotfix: add --no-git-checks to publish to npm well --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bd4b8c1..a662580 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,7 +21,7 @@ jobs: registry-url: https://registry.npmjs.org/ - run: pnpm install --frozen-lockfile - run: pnpm compile - - run: pnpm publish --access public + - run: pnpm publish --no-git-checks --access public env: NODE_AUTH_TOKEN: ${{secrets.PUBLISH_TOKEN_NPM}} @@ -41,6 +41,6 @@ jobs: - run: pnpm install --frozen-lockfile - run: pnpm compile - run: echo registry=https://npm.pkg.github.com/NGuard-Security >> .npmrc - - run: pnpm publish + - run: pnpm publish --no-git-checks env: NODE_AUTH_TOKEN: ${{secrets.PUBLISH_TOKEN_GITHUB}}