This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
chore(deps): bump joi from 17.9.2 to 17.10.1 in /web #357
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 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 |