Fix/remove FERRETDB_SQLITE_URL (#6) #33
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: Start FerretDB instance | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Start FerretDB | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Start FerretDB | |
uses: ./ | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm install | |
- run: npm test | |
custom-port: | |
name: Start FerretDB on custom port | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Start FerretDB | |
uses: ./ | |
with: | |
ferretdb-port: 12345 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm install | |
- run: PORT=12345 npm test | |
postgres-enabled: | |
name: Start FerretDB with Postgres | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Start FerretDB | |
uses: ./ | |
with: | |
use-postgres: "true" | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm install | |
- run: npm test |