From 6e371d42a7072bac824fe3c45d9a74645028e250 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 14 Oct 2024 01:47:59 +0100 Subject: [PATCH] fix: npm publish install --- .github/workflows/npm-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0f48e8385d..19c249e85a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "20.x" - - run: npm ci + - run: npm ci --force - run: npm run cspell - run: npm run prettier - run: npm run lint @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "20.x" - - run: npm ci + - run: npm ci --force - run: npm run build publish-npm: @@ -40,7 +40,7 @@ jobs: with: node-version: "20.x" registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm ci --force - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}