Skip to content

Commit

Permalink
maybe...
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrivnak committed Dec 10, 2024
1 parent 82fc625 commit 4f0a89b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# The above line is there to allow the secret to be mounted properly.

FROM node:20-slim

# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
Expand All @@ -17,7 +20,8 @@ RUN apt-get update \

COPY entrypoint.sh package.json yarn.lock .npmrc tsconfig.json /stark_ga/

RUN cd /stark_ga && \
RUN --mount=type=secret,id=github-token-id,env=GITHUB_TOKEN \
cd /stark_ga && \
yarn install --production --frozen-lockfile && \
yarn cache clean --all \
&& cd -
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ runs:
- ${{ inputs.wait_time }}
- ${{ inputs.token }}
- ${{ inputs.viewport }}
- --build-arg --secret id=github-token-id,env=GITHUB_TOKEN

0 comments on commit 4f0a89b

Please sign in to comment.