Skip to content

Commit 97b97a5

Browse files
chore: disable husky at dockerfile level
1 parent 977fe66 commit 97b97a5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/pr.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ jobs:
4848
context: .
4949
file: ./Dockerfile
5050
push: false
51-
env:
52-
HUSKY: 0
5351
semantic-pr:
5452
name: Validate PR title for semantic versioning
5553
runs-on: ubuntu-latest

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM apify/actor-node-playwright-chrome:18 AS builder
88
COPY --chown=myuser package*.json ./
99

1010
# Install all dependencies. Don't audit to speed up the installation.
11-
RUN npm install --include=dev --audit=false
11+
RUN HUSKY=0 npm install --include=dev --audit=false
1212

1313
# Next, copy the source files using the user set
1414
# in the base image.
@@ -31,7 +31,8 @@ COPY --chown=myuser package*.json ./
3131
# Install NPM packages, skip optional and development dependencies to
3232
# keep the image small. Avoid logging too much and print the dependency
3333
# tree for debugging
34-
RUN npm --quiet set progress=false \
34+
RUN HUSKY=0 \
35+
npm --quiet set progress=false \
3536
&& npm install --omit=dev --omit=optional \
3637
&& echo "Installed NPM packages:" \
3738
&& (npm list --omit=dev --all || true) \

0 commit comments

Comments
 (0)