Skip to content

Revert "Only reward witness who produced the round and Use Only Enabled Witnesses For Scheduling" #188

Revert "Only reward witness who produced the round and Use Only Enabled Witnesses For Scheduling"

Revert "Only reward witness who produced the round and Use Only Enabled Witnesses For Scheduling" #188

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
- qa
pull_request:
branches:
- main
- qa
jobs:
build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os: [ubuntu-22.04]
node-version: [18.x, 20.x]
mongodb-version: ['4.4', '5.0', '6.0', '7.0']
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: 'Set up Node.js ${{ matrix.node-version }}'
uses: actions/setup-node@v3
with:
node-version: '${{ matrix.node-version }}'
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: testssc
- name: Install dependencies
run: npm ci
# - name: Run lint
# run: npm run lint
- name: Copy config file
run: cp config.example.json config.json
- name: Run tests
run: npm run test