Skip to content

Update Dockerfile

Update Dockerfile #340

Workflow file for this run

name: Run tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
mongodb-version: ['4.0', '4.2', '4.4']
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- run: npm install
- run: npm test
env:
CI: true
TEST_TOKEN: ${{ secrets.ACCESS_TOKEN }}
SECRET: s3cr3t
ACCESS_TOKEN_SECRET: sedasfdf
REFRESH_TOKEN_SECRET: sdafgorntoieworwevnir
DB_URL_TEST: mongodb://localhost:27017/safe-courier