Skip to content

chore(deps): update actions/checkout action to v4 #672

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #672

Workflow file for this run

name: INTEGRATION-TESTS
on:
push:
branches:
- "master"
- "develop"
pull_request:
types: [ready_for_review, synchronize, opened]
jobs:
api-integration:
name: INTEGRATION-API
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
env:
POSTGRES_USER: ark
POSTGRES_PASSWORD: password
POSTGRES_DB: ark_unitnet
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
strategy:
matrix:
node-version: [12.x]
env:
CORE_DB_DATABASE: ark_unitnet
CORE_DB_USERNAME: ark
POSTGRES_USER: ark
POSTGRES_PASSWORD: password
POSTGRES_DB: ark_unitnet
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install and build packages
run: yarn && yarn build
- name: GUARDIAN-API
run: |
cd packages/guardian-api
yarn test:integration:coverage --coverageDirectory .coverage/integration-guardian-api