Skip to content

Merge pull request #23 from DrMurx/fix-result-bug #231

Merge pull request #23 from DrMurx/fix-result-bug

Merge pull request #23 from DrMurx/fix-result-bug #231

Workflow file for this run

name: Linux
on: [push, pull_request]
jobs:
test:
name: Node ${{ matrix.node-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm i
- name: npm run build
run: npm run build
- name: npm test
run: npm test
env:
TEST_ONLINE: postgresql://postgres:postgres@/postgres