Skip to content

Merge pull request #1025 from gisaia/fix/legened #923

Merge pull request #1025 from gisaia/fix/legened

Merge pull request #1025 from gisaia/fix/legened #923

Workflow file for this run

name: CI
on: 'push'
jobs:
build:
name: Lint, Build, Test & Licence
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: 16
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: License check
run: npm run license-check
- name: Test
run: npm run test
- name: Build
env:
NODE_OPTIONS: --max_old_space_size=8192
run: npm run build