ci: Use sudo to update npm in release job
@@ -88,7 +88,7 @@ jobs:
- run: docker push oryd/hydra:$CIRCLE_TAG
# Release node / JavaScript SDK
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- - run: npm i -g npm
+ - run: sudo npm i -g npm
- run: npm view ory-hydra-sdk
- run: npm publish
