Skip to content

Commit edb1ab9

Browse files
committed
CCM-11029: fix github token script
1 parent 535336a commit edb1ab9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/set_github_token.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -euo pipefail
44

5+
cd "$(git rev-parse --show-toplevel)"
6+
57
npm config --location user set @nhsdigital:registry https://npm.pkg.github.com
68

79
npm config ls -l | grep '/npm.pkg.github.com/:_authToken' -q && echo "Github token already exists" && exit 0

0 commit comments

Comments
 (0)