Skip to content

Update createdist.yml #15

Update createdist.yml

Update createdist.yml #15

Workflow file for this run

name: CI
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, lts/*]
steps:
- uses: actions/checkout@v3
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Build libs and demo
run: npm run build:demo
- name: Test libs
run: |
npm run test:core -- --code-coverage --no-watch --no-progress --browsers=ChromeHeadlessCI
npm run test:bs3 -- --code-coverage --no-watch --no-progress --browsers=ChromeHeadlessCI
npm run test:bs4 -- --code-coverage --no-watch --no-progress --browsers=ChromeHeadlessCI
npm run test:material -- --code-coverage --no-watch --no-progress --browsers=ChromeHeadlessCI
- name: Publish code coverage
run: npm run publish:coverage