fix: generic database root #17
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- develop-v2 | |
pull_request: | |
branches: | |
- master | |
- develop | |
- develop-v2 | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Node.js dependencies | |
run: npm ci | |
- name: Compile TypeScript files | |
run: npm run ts:build | |
- name: Run tests | |
run: npm test | |
linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Node.js dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint |