Skip to content

Commit 2954139

Browse files
committed
tweaks for github gate
1 parent 29688c2 commit 2954139

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ LABEL homepage="https://nodesource.com"
66
LABEL maintainer="NodeSource"
77

88
RUN apt-get update && apt-get install -y g++ build-essential
9-
RUN npm install -g ncm-cli
10-
11-
COPY entrypoint.sh /entrypoint.sh
9+
RUN npm install -g https://github.com/nodesource/ncm-cli.git#gate
1210

11+
COPY . /
1312
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -l
22

3+
rm -rf package-lock.json
4+
35
if [[ "$2" = "yes" ]]
46
then
57
FORCE_COLOR=1 IS_GITHUB_ACTION=true NCM_TOKEN=$1 ncm report --long

0 commit comments

Comments
 (0)