Skip to content

chore(deps): bump semver from 5.7.1 to 5.7.2 (#48) #24

chore(deps): bump semver from 5.7.1 to 5.7.2 (#48)

chore(deps): bump semver from 5.7.1 to 5.7.2 (#48) #24

Workflow file for this run

name: CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
env:
TERM: xterm
FORCE_COLOR: 1
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: yarn --immutable --ignore-engines
- name: Check Code Format
run: yarn format:check
- name: Lint Code
run: yarn lint
test:
runs-on: ubuntu-latest
env:
CI: true
PGVERSION: ${{ matrix.postgres-version}}
TEST_DATABASE_URL: postgres://postgres:[email protected]:5432/graphile_test
TERM: xterm
FORCE_COLOR: 1
strategy:
fail-fast: false
matrix:
postgres-version:
- 11
- 12
- 13
- 14
- 15
node-version:
- 14
- 16
- 18
name: test (node:${{ matrix.node-version }}, postgres:${{ matrix.postgres-version }})
services:
postgres:
image: postgres:${{ matrix.postgres-version }}
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "0.0.0.0:5432:5432"
# needed because the postgres container does not provide a healthcheck
options:
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5 --name postgres
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Configure PostgreSQL
run: |
cat .github/workflows/ci/docker-entrypoint-initdb.d/010-setup.sh | docker exec -i postgres bash
- name: Install
run: yarn --immutable --ignore-engines
- name: Test
run: yarn test