Skip to content

ci: use report with fails #23

ci: use report with fails

ci: use report with fails #23

Workflow file for this run

name: Testing
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format:check
- name: Test
run: npm run test
- name: Summary
run: node dist/core/cli.js ctrf/ctrf-report.json
- name: Pull Request
run: node dist/core/cli.js pull-request ctrf/ctrf-report.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: ctrf-report
path: ctrf-reports/ctrf-report.json