Skip to content

feat(IconProvider): support global configuration classPrefix and csp #86

feat(IconProvider): support global configuration classPrefix and csp

feat(IconProvider): support global configuration classPrefix and csp #86

Workflow file for this run

name: Run Test Cases
# Run on all branch
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: 'Test'
runs-on: ubuntu-latest
strategy:
matrix:
browser: [chrome]
steps:
- name: Checkout
uses: actions/checkout@v3
# Install NPM dependencies
- name: Install dependencies
run: npm ci
# Cache Cypress files
- name: Cache Cypress
uses: actions/cache@v2
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('package-lock.json') }}-${{ github.run_id }}
# Cypress run
- name: Cypress run
uses: cypress-io/github-action@v5
with:
component: true
browser: ${{ matrix.browser }}
env:
# Disable GPU acceleration for headless browsers
CYPRESS_runTestsInHeadlessMode: '--disable-gpu'