fix mongodb version #4
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: End-to-end tests | |
on: push | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Install npm dependencies, cache them correctly | |
# and run all Cypress tests | |
- name: Start MongoDB | |
uses: supercharge/mongodb-github-action@1.8.0 | |
with: | |
mongodb-version: 6.0 | |
- name: Install dependencies | |
run: npm install | |
- name: Start server | |
run: npm start:test | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 |