chore(deps): update dependency @types/node to v16.18.121 #507
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: e2e Tests | |
on: [pull_request] | |
jobs: | |
run-e2e-tests: | |
name: Run e2e Tests | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: bitnami/mysql | |
env: | |
MYSQL_DATABASE: app | |
MYSQL_USER: docker | |
MYSQL_PASSWORD: docker | |
MYSQL_ROOT_PASSWORD: toor | |
ports: | |
- 3306:3306 | |
volumes: | |
- mysql:/var/lib/mysql | |
options: >- | |
--health-cmd="mysqladmin ping" | |
--health-interval=10s | |
--health-timeout=5s | |
--health-retries=10 | |
zookeeper: | |
image: bitnami/zookeeper:3 | |
ports: | |
- 2181:2181 | |
env: | |
ALLOW_ANONYMOUS_LOGIN: yes | |
options: >- | |
--health-cmd "nc -z localhost 2181 || exit -1" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 10 | |
kafka: | |
image: bitnami/kafka:2 | |
ports: | |
- 9092:9092 | |
env: | |
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181 | |
KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 | |
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092 | |
ALLOW_PLAINTEXT_LISTENER: yes | |
KAFKA_ADVERTISED_HOST_NAME: localhost | |
options: >- | |
--health-cmd "kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --list" | |
--health-interval 10s | |
--health-timeout 10s | |
--health-retries 50 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Run Tests | |
run: yarn test:e2e | |
env: | |
DATABASE_HOST: localhost | |
DATABASE_PORT: ${{ job.services.mysql.ports[3306] }} | |
DATABASE_USER: root | |
DATABASE_PASS: toor | |
JWT_PUBLIC_KEY: ${{secrets.JWT_DUMMY_PUBLIC}} | |
JWT_SECRET_KEY: ${{secrets.JWT_DUMMY_PRIVATE}} |