Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '10.13'
node-version: '12.18'
- name: Setup cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Fetch packages
run: npm ci
run: npm install
- name: Setup Test Environment
run: |
docker-compose up -d database
Expand All @@ -26,4 +26,4 @@ jobs:
run: npm test -- --forceExit
- name: Tear down test environment
run: |
docker-compose down
docker-compose down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:10.13
FROM node:12.18

WORKDIR /app
COPY . /app

RUN npm install
RUN npm install
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '3'

services:
database:
container_name: database
image: mongo
ports:
- "27017:27017"
Expand Down Expand Up @@ -36,4 +35,4 @@ services:
environment:
MONGO_CONNECTION_STRING: 'mongodb://database:27017/ecg-myr'
working_dir: /app
command: npm start
command: npm start
Loading