Skip to content

Merge pull request #3553 from IgniteUI/vnext #1818

Merge pull request #3553 from IgniteUI/vnext

Merge pull request #3553 from IgniteUI/vnext #1818

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: App LOB CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master, vnext ]
paths:
- '**'
- '!src/**'
- '!live-editing/configs/**'
- 'live-editing/configs/app-dv-configs/**'
- '!live-editing/generators/**'
- 'live-editing/generators/AppDVConfigGenerators.ts'
- '!projects/app-crm/**'
pull_request:
branches: [ master, vnext ]
paths:
- '**'
- '!src/**'
- '!live-editing/configs/**'
- 'live-editing/configs/app-dv-configs/**'
- '!live-editing/generators/**'
- 'live-editing/generators/AppDVConfigGenerators.ts'
- '!projects/app-crm/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Npm add registry
run: npm config set @infragistics:registry https://${{secrets.IG_SCOPE}}
- name: Npm config auth
run: npm config set ${{secrets.IG_SCOPE}}:_auth=${{secrets.IG_TOKEN}}
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: 'Generate live editing and build samples'
run: npm run build:app-lob
env:
NODE_OPTIONS: "--max_old_space_size=4096"