Skip to content

Fix INGV links

Fix INGV links #18

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: 16.13.1
- name: Setup MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 4.2
- name: Setup test environment
run: |
sudo apt install -y imagemagick graphicsmagick
npm ci
npm install -g codecov
echo '${{ secrets.TEST_CONFIG }}' >> lib/config/config.json
- name: Run tests
run: |
npm test
codecov -t ${{ secrets.CODECOV_TOKEN }}
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: docker/build-push-action@v2
with:
file: Dockerfile.Prod
push: false