Skip to content

Commit

Permalink
Add trailing slash to build location
Browse files Browse the repository at this point in the history
Workaround for an apparent bug with npm and Node version >14 (see npm/cli#3993 for full details).
  • Loading branch information
Daniel-Lam committed Dec 9, 2023
1 parent 20fcc7c commit bf4d277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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/

0 comments on commit bf4d277

Please sign in to comment.