Skip to content

Set RVITEM and PRODGROUP sequence correctly #110

Set RVITEM and PRODGROUP sequence correctly

Set RVITEM and PRODGROUP sequence correctly #110

Workflow file for this run

name: Build
on:
push:
branches: [develop, master]
pull_request:
branches: [develop, master]
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
container: node:hydrogen-slim
services:
postgres:
image: postgres
env:
POSTGRES_USER: rv
POSTGRES_PASSWORD: unsecure
POSTGRES_DB: rv_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install NPM dependencies
run: npm ci
- name: Execute test suites
run: npm test
env:
NODE_ENV: test
PORT: 4040
DB_HOST: postgres
DB_USERNAME: rv
DB_PASSWORD: unsecure
DB_NAME: rv
DB_PORT: 5432
JWT_SECRET: unsecure
JWT_ADMIN_SECRET: unsecure
- name: Check formatting with eslint
run: npm run lint-js
- name: Generate the code coverage report
uses: codecov/codecov-action@v3