Skip to content

Update package to version v1.10.0 #8

Update package to version v1.10.0

Update package to version v1.10.0 #8

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
lint-and-test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test -- --verbose
- name: Generate coverage report
run: npm run test:coverage
- name: Display coverage summary
run: |
echo "## Test Coverage Summary" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
cat coverage/coverage-summary.txt 2>/dev/null || echo "Coverage report not found"
echo '```' >> $GITHUB_STEP_SUMMARY