Skip to content

Feat/functional_programming #6

Feat/functional_programming

Feat/functional_programming #6

Workflow file for this run

name: Build, Quality, Test
on:
pull_request:
branches:
- main
- develop*
jobs:
default:
name: Default quality check
container:
image: node:20-alpine
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache modules
uses: actions/cache@v1
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm run build
- name: Run tests
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm run test -- --logHeapUsage