Skip to content

refactor(presets): merge duplicate column preset loading logic #1621

refactor(presets): merge duplicate column preset loading logic

refactor(presets): merge duplicate column preset loading logic #1621

Workflow file for this run

name: Framework Tests - Angular
on:
push:
branches:
- master
- next
pull_request:
branches:
- '**'
paths-ignore:
- '**.md'
- '!.github/workflows/ci.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run:
strategy:
fail-fast: false
matrix:
node: [24]
platform:
- ubuntu-latest
name: '${{matrix.platform}} / Node ${{ matrix.node }}'
runs-on: ${{matrix.platform}}
if: ${{ !startsWith(github.event.head_commit.message, 'docs:') }}
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 10
run_install: false
- name: Set NodeJS
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm --version
- name: Install pnpm dependencies
run: pnpm install
- name: Build Slickgrid-Universal packages
run: pnpm build:universal
- name: Run Vitest unit tests
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
run: pnpm angular:test:coverage
- name: Upload Angular Vitest coverage to Codecov
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: angular
token: ${{ secrets.CODECOV_TOKEN }}
directory: frameworks/angular-slickgrid/coverage
verbose: true
- name: Angular-Slickgrid Framework Build
run: pnpm angular:build:framework
- name: Angular-Slickgrid Framework-Plugins Build
run: pnpm angular:build:framework-plugins
- name: Website Dev Build (served for Cypress)
run: pnpm angular:build:demo
- name: Ensure Cypress binary is installed
run: pnpm exec cypress install
- name: Start HTTP Server
run: pnpm angular:serve &
- name: Run Cypress E2E tests
uses: cypress-io/github-action@v7
with:
install: false
package-manager-cache: false
working-directory: frameworks/angular-slickgrid
# start: pnpm angular:serve
wait-on: 'http://localhost:4300'
config-file: test/cypress.config.ts
browser: chrome
record: false
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Cypress_extended: true
- uses: actions/upload-artifact@v6
if: failure()
with:
name: cypress-screenshots
path: test/cypress/screenshots