Skip to content

chore(deps-dev): bump the semantic-release-ecosystem group with 2 updates #110

chore(deps-dev): bump the semantic-release-ecosystem group with 2 updates

chore(deps-dev): bump the semantic-release-ecosystem group with 2 updates #110

Workflow file for this run

name: Testing
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Use Node LTS version
uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run test suite
run: yarn test
coverage:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run coverage report
run: yarn coverage
- uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ github.run_id }}
path: |
coverage/**/*.json
- name: Coverage summary
uses: irongut/[email protected]
with:
filename: coverage/cobertura-coverage.xml
format: 'markdown'
output: 'both'
- name: Add coverage PR comment
uses: marocchino/[email protected]
with:
recreate: true
path: code-coverage-results.md
- name: Write to job summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY