Skip to content

Commit

Permalink
Upgrade to node v18 for github actions and docker
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante committed Nov 21, 2022
1 parent 4d8520b commit d6f33f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:5.0.5
image: mongo:5.0.13
ports:
- 27017:27017
if: "!contains(github.event.head_commit.message, '[skip tests]')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run test -- --watch=false --progress=false --browsers=ChromeHeadless
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:18-alpine

WORKDIR /usr/src/app
COPY package*.json ./
Expand Down

0 comments on commit d6f33f9

Please sign in to comment.