#408: Coordinator can remove trainee #2773
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
mongo: | |
image: mongo:latest | |
ports: | |
- 6000:27017 | |
env: | |
MONGO_TEST_DB: ${{ secrets.MONGO_TEST_DB }} | |
NODE_ENV: test | |
MONGO_PROD_DB: 'oe' | |
concurrency: test_environment | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Uses Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- run: npm install | |
- run: npm run build | |
- run: npm run test -- --coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |