build(deps-dev): bump eslint-plugin-jsdoc from 50.2.2 to 50.2.3 #3968
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
pull_request: | |
env: | |
FORCE_COLOR: 2 | |
NODE_COV: lts/* # The Node.js version to run coveralls on | |
permissions: | |
contents: read | |
jobs: | |
run: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
contents: read # for actions/checkout to fetch code | |
name: Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 18 | |
- 20 | |
- 22 | |
- lts/* | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: '${{ matrix.node }}' | |
cache: 'npm' | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run test:vi | |
if: matrix.node != env.NODE_COV | |
- name: Run tests with coverage | |
run: npm run test:vi -- --coverage | |
if: matrix.node == env.NODE_COV | |
- name: Run Coveralls | |
uses: coverallsapp/github-action@v2.3.0 | |
if: matrix.node == env.NODE_COV | |
continue-on-error: true | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' |