Skip to content

feat: auto-enabled external resources with their associated flags #1612

feat: auto-enabled external resources with their associated flags

feat: auto-enabled external resources with their associated flags #1612

Workflow file for this run

name: Framework Tests - Aurelia
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: true
- 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: Aurelia-Slickgrid Framework Build
run: pnpm aurelia:build:framework
- name: Aurelia-Slickgrid Framework-Plugins Build
run: pnpm aurelia:build:framework-plugins
- name: Website Dev Build (served for Cypress)
run: pnpm aurelia:build:demo
- name: Ensure Cypress binary is installed
run: pnpm exec cypress install
- name: Start HTTP Server
run: pnpm aurelia:serve &
- name: Run Cypress E2E tests
uses: cypress-io/github-action@v7
with:
install: false
package-manager-cache: false
working-directory: demos/aurelia
# start: pnpm aurelia:serve
wait-on: 'http://localhost:7900'
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