Skip to content

Bump nyc from 17.1.0 to 18.0.0 in /.github/scripts #127

Bump nyc from 17.1.0 to 18.0.0 in /.github/scripts

Bump nyc from 17.1.0 to 18.0.0 in /.github/scripts #127

Workflow file for this run

name: Pull Request Tests
on:
pull_request:
branches: [ '*' ]
types:
- opened
- synchronize
permissions:
pull-requests: write
jobs:
run-tests:
runs-on: ubuntu-latest
env:
working-directory: ./.github/scripts
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
check-latest: true
cache: 'npm'
cache-dependency-path: ${{ env.working-directory }}/package-lock.json
- run: npm ci
working-directory: ${{ env.working-directory }}
- run: npm test
working-directory: ${{ env.working-directory }}
- uses: tintef/nyc-reporter-action@0.2.5
with:
GITHUB_TOKEN: ${{ github.token }}
SKIP_COVERAGE_FOLDER: true
WORKING_DIRECTORY: ${{ env.working-directory }}