Skip to content

feat: add inline filters #45

feat: add inline filters

feat: add inline filters #45

Workflow file for this run

# Workflow name
name: 'Build and Test'
# Event for the workflow
on:
workflow_dispatch:
pull_request:
branches:
- "main"
# List of jobs
jobs:
Check-License:
uses: ./.github/workflows/check-copyright-license.yml
with:
company: Arkemis S.r.l.
extensions: ./**/*.js ./**/*.ts ./**/*.tsx ./**/*.css
Build-Test:
runs-on: ubuntu-latest
needs: Check-License
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.1
with:
version: latest
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm build
- name: Test
run: pnpm test -- --coverage --bail --detectOpenHandles
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/cobertura-coverage.xml
directory: coverage
fail_ci_if_error: true
verbose: true