Skip to content

feat: new @ng-web-apis/notification package (Notification API) #169

feat: new @ng-web-apis/notification package (Notification API)

feat: new @ng-web-apis/notification package (Notification API) #169

Workflow file for this run

name: ⚙️ Unit tests
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project:
[
common,
resize-observer,
universal,
audio,
canvas,
geolocation,
intersection-observer,
midi,
mutation-observer,
payment-request,
permissions,
speech,
storage,
workers,
view-transition,
]
name: ${{ matrix.project }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node.js and Cache
uses: ./.github/actions/nodejs
- name: Run tests for ${{ matrix.project }}
run: npx nx test ${{ matrix.project }}
- name: Archive coverage artifacts
uses: actions/[email protected]
with:
name: coverage-${{ github.workflow }}-${{ github.run_id }}
path: coverage
codecov:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
name: coverage-${{ github.workflow }}-${{ github.run_id }}
path: coverage
- name: Display structure of coverage files
run: tree -L 2 ./coverage -P 'lcov.info'
- uses: codecov/[email protected]
with:
directory: ./coverage/common/
flags: summary,common
name: kit
- uses: codecov/[email protected]
with:
directory: ./coverage/universal/
flags: summary,universal
name: universal
- uses: codecov/[email protected]
with:
directory: ./coverage/audio/
flags: summary,audio
name: audio
- uses: codecov/[email protected]
with:
directory: ./coverage/canvas/
flags: summary,canvas
name: canvas
- uses: codecov/[email protected]
with:
directory: ./coverage/geolocation/
flags: summary,geolocation
name: geolocation
- uses: codecov/[email protected]
with:
directory: ./coverage/midi/
flags: summary,midi
name: midi
- uses: codecov/[email protected]
with:
directory: ./coverage/intersection-observer/
flags: summary,intersection-observer
name: intersection-observer
- uses: codecov/[email protected]
with:
directory: ./coverage/resize-observer/
flags: summary,resize-observer
name: resize-observer
- uses: codecov/[email protected]
with:
directory: ./coverage/mutation-observer/
flags: summary,mutation-observer
name: mutation-observer
- uses: codecov/[email protected]
with:
directory: ./coverage/payment-request/
flags: summary,payment-request
name: payment-request
- uses: codecov/[email protected]
with:
directory: ./coverage/permissions/
flags: summary,permissions
name: permissions
- uses: codecov/[email protected]
with:
directory: ./coverage/speech/
flags: summary,speech
name: speech
- uses: codecov/[email protected]
with:
directory: ./coverage/storage/
flags: summary,storage
name: storage
- uses: codecov/[email protected]
with:
directory: ./coverage/workers/
flags: summary,workers
name: workers
- uses: codecov/[email protected]
with:
directory: ./coverage/view-transition/
flags: summary,view-transition
name: view-transition
concurrency:
group: test-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true