Skip to content

Commit d6f33f9

Browse files
Upgrade to node v18 for github actions and docker
1 parent 4d8520b commit d6f33f9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: '16'
16+
node-version: '18'
1717
cache: 'npm'
1818
- run: npm ci
1919
- run: npm run lint

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
services:
1313
mongodb:
14-
image: mongo:5.0.5
14+
image: mongo:5.0.13
1515
ports:
1616
- 27017:27017
1717
if: "!contains(github.event.head_commit.message, '[skip tests]')"
1818
steps:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-node@v3
2121
with:
22-
node-version: '16'
22+
node-version: '18'
2323
cache: 'npm'
2424
- run: npm ci
2525
- run: npm run test -- --watch=false --progress=false --browsers=ChromeHeadless

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine
1+
FROM node:18-alpine
22

33
WORKDIR /usr/src/app
44
COPY package*.json ./

0 commit comments

Comments
 (0)