Skip to content

Commit da55751

Browse files
authored
chore: fix publish.sh to work with kokoro (#279)
1 parent 5bfbea2 commit da55751

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

system-test/Dockerfile.linux

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN mkdir -p $NVM_DIR
2121

2222

2323
# Install nvm with node and npm
24-
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash \
24+
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
2525
&& . $NVM_DIR/nvm.sh \
2626
&& nvm install $NODE_VERSION
2727

tools/publish.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,16 @@
1919
set -eo pipefail
2020

2121
# Install desired version of Node.js
22-
retry curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash >/dev/null
22+
retry curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash >/dev/null
2323
export NVM_DIR="$HOME/.nvm" >/dev/null
2424
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" >/dev/null
2525

26-
retry nvm install 10 &>/dev/null
26+
retry nvm install 20 &>/dev/null
2727

2828
cd $(dirname $0)/..
2929

3030
NPM_TOKEN=$(cat $KOKORO_KEYSTORE_DIR/72935_pprof-npm-token)
3131
echo "//wombat-dressing-room.appspot.com/:_authToken=${NPM_TOKEN}" > ~/.npmrc
3232

3333
retry npm install --quiet
34-
npm publish --access=public \
35-
--registry=https://wombat-dressing-room.appspot.com
34+
npm publish

0 commit comments

Comments
 (0)