Skip to content

Commit 65e7580

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

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-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

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "ncm-report-github-action",
3+
"version": "1.0.0",
4+
"description": "![NodeSource Certification process](https://github.com/nodesource/ncm-report-github-action/workflows/NodeSource%20Certification%20process/badge.svg?event=push)",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/nodesource/ncm-report-github-action.git"
12+
},
13+
"author": "",
14+
"license": "ISC",
15+
"bugs": {
16+
"url": "https://github.com/nodesource/ncm-report-github-action/issues"
17+
},
18+
"homepage": "https://github.com/nodesource/ncm-report-github-action#readme"
19+
}

0 commit comments

Comments
 (0)