Skip to content

Commit c0510f9

Browse files
abitrollydi
andauthored
Switch to NodeJS 14.15 LTS (fixes #10158) (#10159)
* Switch to NodeJS 14.15 LTS (fixes #10158) * More finegrained Node version in CI Co-authored-by: Dustin Ingram <[email protected]> * More finegrained Node version in static image Co-authored-by: Dustin Ingram <[email protected]> * More finegrained Node version in web image Co-authored-by: Dustin Ingram <[email protected]> * Use native `npm` version in static Node image Co-authored-by: Dustin Ingram <[email protected]>
1 parent 913826a commit c0510f9

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- uses: actions/setup-node@v2
8181
if: ${{ matrix.needs-node }}
8282
with:
83-
node-version: 14.4.0
83+
node-version: 14.15.5
8484
- name: Cache Node dependencies
8585
if: ${{ matrix.needs-node }}
8686
uses: actions/cache@v2

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# our static assets with. It is important that the steps in this remain the
33
# same as the steps in Dockerfile.static, EXCEPT this may include additional
44
# steps appended onto the end.
5-
FROM node:14.4.0 as static
5+
FROM node:14.15.5 as static
66

77
WORKDIR /opt/warehouse/src/
88

@@ -23,7 +23,6 @@ COPY package.json package-lock.json .babelrc /opt/warehouse/src/
2323
# over our static files so that, you guessed it, we don't invalidate the cache
2424
# of installed dependencies just because files have been modified.
2525
RUN set -x \
26-
&& npm install -g npm@latest \
2726
&& npm install -g gulp-cli \
2827
&& npm ci
2928

Dockerfile.static

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.4.0 as static
1+
FROM node:14.15.5 as static
22

33
WORKDIR /opt/warehouse/src/
44

@@ -19,6 +19,5 @@ COPY package.json package-lock.json .babelrc /opt/warehouse/src/
1919
# over our static files so that, you guessed it, we don't invalidate the cache
2020
# of installed dependencies just because files have been modified.
2121
RUN set -x \
22-
&& npm install -g npm@latest \
2322
&& npm install -g gulp-cli \
2423
&& npm ci

docs/development/frontend.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Building
1414

1515
Static files should be automatically built when ``make serve`` is running;
1616
however, you can trigger a manual build of them by installing
17-
`NodeJS 10.x <https://nodejs.org/en/download/releases/>`_, installing
17+
`NodeJS 14.x <https://nodejs.org/en/download/releases/>`_, installing
1818
the dependencies using ``npm install`` and then running ``gulp dist``.
1919

2020
If you're in a POSIX environment you may find

0 commit comments

Comments
 (0)