[Snyk] Security upgrade apollo-server-express from 2.26.2 to 3.0.0 #863
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: PostgresQL v11.0 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: tensei | |
ports: | |
- 5432:5432 | |
strategy: | |
fail-fast: true | |
max-parallel: 6 | |
matrix: | |
node-version: [12.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Node.js v-${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --production=false | |
- name: Build packages | |
run: yarn build | |
- name: Run package tests on postgresql database | |
run: cd /home/runner/work/tensei/tensei/packages/tests && yarn test | |
env: | |
DATABASE_TYPE: postgresql |