Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Rename dependabot.yml to dependabot.yml.off #360

Rename dependabot.yml to dependabot.yml.off

Rename dependabot.yml to dependabot.yml.off #360

Workflow file for this run

name: CI API Query Builder
on:
workflow_dispatch:
push:
branches:
- 'develop'
- 'main'
pull_request:
branches:
- 'develop'
- 'main'
- 'api_query/**'
jobs:
api-query-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./api_query
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/main"
NODE_ENV: "test"
steps:
- name: "Checkout the repo code"
uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: "Clean install"
run: npm ci
- name: "Lint the code"
run: npm run lint
- name: "Execute tests"
run: npm run test