From bf4d2773cf5f047ba7ff7bc33779d3f48bf5a5e5 Mon Sep 17 00:00:00 2001 From: Daniel Lam Date: Sat, 9 Dec 2023 02:00:02 +0000 Subject: [PATCH] Add trailing slash to build location Workaround for an apparent bug with npm and Node version >14 (see https://github.com/npm/cli/issues/3993 for full details). --- .github/workflows/npmpublish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 9a58375fe9..958b011944 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -78,7 +78,7 @@ jobs: - run: corepack enable && yarn --version - run: yarn install - run: yarn build - - run: npm publish dist/ccd-case-ui-toolkit --ignore-scripts + - run: npm publish dist/ccd-case-ui-toolkit/ --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_API_TOKEN }} NPM_PUBLISH_REGISTRY: https://registry.npmjs.org/ @@ -97,7 +97,7 @@ jobs: - run: corepack enable && yarn --version - run: yarn install - run: yarn build - - run: npm publish dist/ccd-case-ui-toolkit --ignore-scripts + - run: npm publish dist/ccd-case-ui-toolkit/ --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/