Skip to content

Refactor/flow 152

Refactor/flow 152 #331

Workflow file for this run

name: Node.js CI
on:
pull_request:
branches:
- master
- development
jobs:
test:
if: github.event.pull_request.user.login!='bot-flowbuild'
name: start on node ${{ matrix.node_version }} in ${{ matrix.os }}, lint and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ["18"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- name: start database
run: docker-compose up -d postgres
- name: start app
run: docker-compose up app
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}