mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 11:27:10 +08:00
[v4] fix: Pin node-gyp to address issue building on Node 8 (#2992)
* Update Dockerfile * Update config.yml
This commit is contained in:
@@ -67,7 +67,7 @@ jobs:
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
yarn global add node-gyp &&
|
||||
yarn global add node-gyp@6.1.0 &&
|
||||
yarn install --frozen-lockfile
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "yarn.lock" }}
|
||||
|
||||
+2
-1
@@ -20,7 +20,8 @@ ARG REVISION_HASH
|
||||
ENV REVISION_HASH=${REVISION_HASH}
|
||||
|
||||
# Install app dependencies and build static assets.
|
||||
RUN yarn global add node-gyp && \
|
||||
# Pin node-gyp@6.1.0 as newer versions do not build on Node 8.
|
||||
RUN yarn global add node-gyp@6.1.0 && \
|
||||
yarn install --frozen-lockfile && \
|
||||
yarn build && \
|
||||
yarn cache clean
|
||||
|
||||
Reference in New Issue
Block a user