File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ node_modules
2+ .gitignore
3+ * .test.js
4+ jest.config.js
5+ .docker
6+ .github
7+ .vscode
8+ dummy
Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ ENV DEBIAN_FRONTEND=noninteractive
66COPY . /app/
77COPY ./entrypoint.sh /entrypoint.sh
88
9+ # IMPORTANT:
10+ #
11+ # GitHub sets the working directory path in the GITHUB_WORKSPACE
12+ # environment variable. It's recommended to not use the WORKDIR
13+ # instruction in your Dockerfile
14+ #
15+ # docs: https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#workdir
16+
917RUN cd /app && npm install --omit=dev
1018
1119ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1111 "gh" : " node github.js" ,
1212 "test" : " jest" ,
1313 "test:index" : " jest --testPathPattern=index.test.js" ,
14- "test:github" : " jest --testPathPattern=github.test.js"
14+ "test:github" : " jest --testPathPattern=github.test.js" ,
15+ "docker:build" : " docker build -t github-graphql-client -f Dockerfile ."
1516 },
1617 "keywords" : [
1718 " git" ,
You can’t perform that action at this time.
0 commit comments