bump version number up to 2.0.1 #186
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: 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 |