Skip to content

Merge pull request #5 from cofacts/test #20

Merge pull request #5 from cofacts/test

Merge pull request #5 from cofacts/test #20

Workflow file for this run

name: CI test
on:
# Triggers the workflow on push or pull request events
- pull_request
- push
# Allows you to run this workflow manually from the Actions tab
- workflow_dispatch
jobs:
install-and-test:
runs-on: ubuntu-latest
services:
rumors-test-db:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.3.2
ports:
- 62223:9200
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test -- --coverage
- name: Update coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}