Skip to content

fix: do not log warn log if incoming warning is expected as unknown #239

fix: do not log warn log if incoming warning is expected as unknown

fix: do not log warn log if incoming warning is expected as unknown #239

Workflow file for this run

name: quality checks
on:
pull_request:
branches:
- main
push:
branches:
- main
paths:
- src/**.ts
- package.json
- tsconfig.json
- .github/workflows/**.yml
# Required for xseman/coverage to comment on PRs (uses Issues API)
permissions:
contents: read
pull-requests: write
issues: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'yarn'
- name: install
run: yarn
- name: build
run: yarn run build
- name: test
run: yarn run test:ci
# Skip on fork PRs: GITHUB_TOKEN cannot comment on PRs from forks
- name: Coverage report
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
uses: xseman/coverage@v0.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
coverage-artifact-paths: |
lcov:coverage/lcov.info
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install
run: yarn
- name: lint
run: yarn