Skip to content

Commit

Permalink
ci: run GH Actions on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Sep 8, 2020
1 parent 54c7f7e commit 5673f65
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/test.yml
@@ -1,6 +1,6 @@
name: Node.js CI

on: [push]
on: [push, pull_request]

jobs:
test:
Expand All @@ -22,23 +22,8 @@ jobs:
ports:
- 5432/tcp

# mysql:8.0 would not work as we use `mariadb` node lib and it doesn't support the latest default password algorithm
# https://stackoverflow.com/questions/60902904/how-to-pass-mysql-native-password-to-mysql-service-in-github-actions
# mysql:
# image: mysql:8.0
# env:
# MYSQL_ROOT_PASSWORD: root
# MYSQL_DATABASE: tests
# MYSQL_USER: prisma
# MYSQL_PASSWORD: prisma
# volumes:
# - mysql:/var/lib/mysql
# ports:
# - 3306/tcp
# options: >-
# --health-cmd="mysqladmin ping"
# --health-interval=10s
# --health-timeout=5s
# --health-retries=3
mysql:
image: bitnami/mysql:8.0
env:
Expand Down

0 comments on commit 5673f65

Please sign in to comment.