From 1693e81727e040576605d9bdc57cb84e01d39486 Mon Sep 17 00:00:00 2001 From: Vijay Ramesh Date: Tue, 26 Sep 2023 15:45:57 -0700 Subject: [PATCH] use yarn install not npm ci --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2449b4..26bc59c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,12 @@ LABEL "com.github.actions.icon"="activity" LABEL "com.github.actions.color"="white" # Copy the package.json and package-lock.json -COPY package*.json ./ +COPY package*.json yarn.lock ./ # Install dependencies -RUN npm ci +RUN npm install -g yarn + +RUN yarn install --frozen-lockfile # Copy the rest of your action's code COPY . .