Skip to content

LI-116181 fix JavaScript heap out of memory #100

LI-116181 fix JavaScript heap out of memory

LI-116181 fix JavaScript heap out of memory #100

Workflow file for this run

name: NodeJS SDK CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 37, Col: 9): Unexpected value 'NODE_OPTIONS'
on:
workflow_dispatch:
push:
branches:
- master
- support/SDK-V3
- feature/**
- bugfix/**
- dependabot/**
jobs:
test:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: " --trace-gc --trace-gc-verbose --max-old-space-size=4096"
strategy:
fail-fast: false
matrix:
node-version: [14.x ,18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: |
npm install
npm run build --if-present
npm run test
env:
NODE_OPTIONS: " --trace-gc --trace-gc-verbose --max-old-space-size=4096"
code-coverage:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: " --trace-gc --trace-gc-verbose --max-old-space-size=4096"
strategy:
fail-fast: false
matrix:
node-version: [ 14.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: |
npm install
npm run build --if-present
npm run test-coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}