feat(text-highlight): implement disposal #23461
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
push: | |
branches: [ master, '[0-9]+.[0-9]+.x' ] | |
pull_request: | |
branches: [ master, '[0-9]+.[0-9]+.x' ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- name: Checkout | |
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: Install packages | |
run: npm ci | |
- name: Lint Lib | |
run: npm run lint:lib | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
- name: Lint i18n | |
run: npm run lint:i18n | |
- name: Build Lib | |
run: npm run build:lib | |
- name: Build Schematics | |
run: npm run build:schematics | |
- name: Build Migrations | |
run: npm run build:migrations | |
- name: Build TypeDoc & SassDoc | |
run: | | |
npm run build:typedoc:en:production | |
npm run build:sassdoc:en:production | |
- name: Test | |
run: | | |
npm run test:lib | |
npm run test:styles | |
npm run test:schematics | |
npm run test:i18n | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
- name: Build i18n & validate output | |
run: | | |
npm run build:i18n | |
npm run test:i18n:dist | |
- name: Bundle Tree-Shake & SSR Test | |
run: npm run build:bundletest | |
- name: Publish to coveralls.io | |
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '18.x' | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ github.token }} |