Skip to content

Commit 85f9bec

Browse files
CopilotneSpecc
andcommitted
Update Dockerfile.dev and CI workflows to use Node 16 for prom-client compatibility
Co-authored-by: neSpecc <3684889+neSpecc@users.noreply.github.com>
1 parent 64b124d commit 85f9bec

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13+
- name: Use Node.js
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version-file: '.nvmrc'
17+
1318
- name: Run tests
1419
run: yarn test:integration

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
runs-on: ubuntu-22.04
1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Use Node.js
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version-file: '.nvmrc'
1216
- name: Install modules
1317
run: yarn
1418
- name: Run tests

docker/Dockerfile.dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM node:14.17.0-alpine as builder
1+
FROM node:16-alpine as builder
22

33
WORKDIR /usr/src/app
4-
RUN apk add --no-cache git gcc g++ python make musl-dev
4+
RUN apk add --no-cache git gcc g++ python3 make musl-dev
55

66
COPY package.json yarn.lock ./
77

88
RUN yarn install
99

10-
FROM node:14.17.0-alpine
10+
FROM node:16-alpine
1111

1212
WORKDIR /usr/src/app
1313

0 commit comments

Comments
 (0)