Skip to content

add unit test & build & publish actions #18

add unit test & build & publish actions

add unit test & build & publish actions #18

Workflow file for this run

on: ['pull_request']
name: Test PR
jobs:
build:
name: Test PR
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup 🛠️
uses: ./.github/actions/setup
- name: TEST 🔧
run: |
pnpm install
pnpm run lint
pnpm run test
- name: Report Coverage for iris-web-rtc 🟢
uses: ArtiomTr/jest-coverage-report-action@v2
with:
custom-title: Coverage report for iris-web-rtc
package-manager: pnpm
working-directory: './packages/rtc'