fix: manual npmrc configuration to resolve auth issues in workflow
All checks were successful
Deploy to Production / deploy (push) Successful in 5s

This commit is contained in:
2026-03-03 09:37:55 +00:00
parent e3a3875949
commit 9aa9edf87f

View File

@@ -17,6 +17,9 @@ jobs:
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build
- run: npm publish --access public - name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish --access public
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}