Skip to content

Commit

Permalink
Include .npmrc file in builds to omit optionalDeps (github#21192)
Browse files Browse the repository at this point in the history
JamesMGreene authored Aug 30, 2021
1 parent 704f699 commit 535e30c
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/staging-build-pr.yml
Original file line number Diff line number Diff line change
@@ -64,6 +64,7 @@ jobs:
translations/ \
server.mjs \
package*.json \
.npmrc \
feature-flags.json \
next.config.js \
app.json \
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -90,6 +90,7 @@ COPY --chown=node:node middleware ./middleware
COPY --chown=node:node translations ./translations
COPY --chown=node:node server.mjs ./server.mjs
COPY --chown=node:node package*.json ./
COPY --chown=node:node .npmrc ./
COPY --chown=node:node feature-flags.json ./
COPY --chown=node:node next.config.js ./

0 comments on commit 535e30c

Please sign in to comment.