Skip to content

Change passed environment in docker-compose-main-production #47

Change passed environment in docker-compose-main-production

Change passed environment in docker-compose-main-production #47

Workflow file for this run

name: CI/CD
on: [push]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15.3-alpine
env:
POSTGRES_DB: balance-aggregator
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
PGDATA: /var/lib/postgresql/data/pgdata
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5632:5432
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.20.0
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run build
run: npm run build
- name: Run tests
run: npm run test
# env:
# XDAI_NODE_HTTP_URL: ${{ secrets.XDAI_NODE_HTTP_URL }}