make dashboards users free for now #179
This file contains hidden or 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: Test | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [20] | |
| os: [ubuntu-24.04] | |
| include: | |
| - os: ubuntu-24.04 | |
| mongo-os: ubuntu2404 | |
| mongo: 8.0.7 | |
| name: Node ${{ matrix.node }} MongoDB ${{ matrix.mongo }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm install | |
| - name: Setup | |
| run: | | |
| wget -q https://downloads.mongodb.org/linux/mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}.tgz | |
| tar xf mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}.tgz | |
| mkdir -p ./data/db/27017 ./data/db/27000 | |
| printf "\n--timeout 8000" >> ./test/mocha.opts | |
| ./mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017 | |
| sleep 2 | |
| ./mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}/bin/mongod --version | |
| echo `pwd`/mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}/bin >> $GITHUB_PATH | |
| - run: npm test |