Update dependency @nestjs/throttler to v5 #2888
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 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/ci.yml | |
- sql_scripts/** | |
- docker/** | |
- src/** | |
- package.json | |
- yarn.lock | |
pull_request: | |
branches: | |
- main | |
# add manual trigger | |
workflow_dispatch: | |
jobs: | |
continuous-integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# run tests | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn build | |
- run: yarn test | |
continuous-integration-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# test docker build | |
- name: Docker pull latest images | |
working-directory: ./docker | |
run: docker-compose pull | |
- name: Docker build | |
working-directory: ./docker | |
run: docker-compose -f ./docker-compose.yml -f ./docker-compose.prod.yml build |