Skip to content

Handle submitting multiple messages (cooccurrences) at once (#379) #996

Handle submitting multiple messages (cooccurrences) at once (#379)

Handle submitting multiple messages (cooccurrences) at once (#379) #996

Workflow file for this run

name: CI test
on:
# Triggers the workflow on push or pull request events but only for the dev branch
- 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:
mongo:
image: mongo:3.6
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root-test-password
ports:
- 27017:27017
redis:
image: redis:alpine
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
# https://docs.github.com/en/actions/guides/building-and-testing-nodejs
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run i18n:validate
- run: npm run test --ignore-scripts -- --coverage --runInBand
- name: Update coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}