Skip to content

Commit 4a881b7

Browse files
authored
Merge pull request #1036 from clearlydefined/update-node
Update Node to version 14
2 parents b503e9d + 990e91d commit 4a881b7

File tree

5 files changed

+18144
-13313
lines changed

5 files changed

+18144
-13313
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ jobs:
1919

2020
- uses: actions/setup-node@v4.0.1
2121
with:
22-
node-version: 10
22+
node-version: 14
2323
cache: 'npm'
2424

25+
- name: Update npm
26+
run: npm install -g npm@9
27+
2528
- name: Install dependencies
2629
run: npm ci
2730

DevDockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Copyright (c) Microsoft Corporation and others. Licensed under the MIT license.
22
# SPDX-License-Identifier: MIT
3-
FROM node:10-alpine as builder
3+
FROM node:14-alpine as builder
44
COPY . /opt/website
55
WORKDIR /opt/website
66
ARG REACT_APP_SERVER=http://localhost:4000
77
ARG REACT_APP_GA_TRACKINGID
88
RUN apk add --no-cache git
9+
RUN npm install -g npm@9
910
RUN npm install
1011

1112
EXPOSE 3000

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Copyright (c) Microsoft Corporation and others. Licensed under the MIT license.
22
# SPDX-License-Identifier: MIT
3-
FROM node:10-alpine as builder
3+
FROM node:14-alpine as builder
44
COPY . /opt/website
55
WORKDIR /opt/website
66
ARG REACT_APP_SERVER=http://localhost:4000
77
ARG REACT_APP_GA_TRACKINGID
88
RUN apk add --no-cache git
9+
RUN npm install -g npm@9
910
RUN npm install
1011
RUN npm run build
1112

0 commit comments

Comments
 (0)