Skip to content

Commit

Permalink
use yarn install not npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaykramesh committed Sep 26, 2023
1 parent e85a542 commit 1693e81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down

0 comments on commit 1693e81

Please sign in to comment.