Skip to content

Update Sentry to v7 (major) #5878

Update Sentry to v7 (major)

Update Sentry to v7 (major) #5878

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:16-buster-slim
timeout-minutes: 10
env:
DB_HOST: postgres
DB_PORT: 5432
REDIS_HOST: redis
REDIS_PORT: 6379
MQ_HOST: rabbitmq
MQ_PORT: 5672
SMTP_HOST: maildev
SMTP_PORT: 25
MAILDEV_HOST: maildev
MAILDEV_PORT: 80
DEBUG: nrg.rateLimit
services:
postgres:
image: postgres:12.3
env:
POSTGRES_DB: nrg
POSTGRES_USER: nrg
POSTGRES_PASSWORD: gottaLottaEnemies
# Needed because the postgres container does not provide a health check.
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
redis:
image: redis:5.0
options: --entrypoint redis-server
rabbitmq:
image: rabbitmq:3.8
env:
RABBITMQ_DEFAULT_USER: nrg
RABBITMQ_DEFAULT_PASS: gottaLottaEnemies
maildev:
image: djfarrelly/maildev:1.1.0
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: yarn
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test