Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 #84

Bump cross-spawn from 7.0.3 to 7.0.6

Bump cross-spawn from 7.0.3 to 7.0.6 #84

Workflow file for this run

# .github/workflows/test.yaml
name: build / migrate/ tests
on: push
jobs:
test:
runs-on: ubuntu-latest
# Service containers to run with `container-job`
services:
# Label used to access the service container
postgres:
# Docker Hub PostgreSQL image
image: postgres
# Provide the password for postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/veritext_box_test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.12.1'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Run setup script
run: yarn setup:ci
- name: Run prisma deploy
run: yarn db:migrate:prod
- name: Run tests
run: yarn test
- name: Verify formatting
uses: creyD/[email protected]
with:
# fail if there are unformatted files
dry: true
prettier_options: --write **/*.{js,jsx,scss,json,md}