build(deps-dev): bump eslint-plugin-jsdoc from 46.5.1 to 46.6.0 #2776
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: | |
- 14 | |
- 16 | |
- 18 | |
- lts/* | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '${{ matrix.node }}' | |
cache: 'npm' | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run Jest | |
run: npm run test:jest | |
if: matrix.node != env.NODE_COV | |
- name: Run Jest with coverage | |
run: npm run test:jest:cov | |
if: matrix.node == env.NODE_COV | |
- name: Run Coveralls | |
uses: coverallsapp/[email protected] | |
if: matrix.node == env.NODE_COV | |
continue-on-error: true | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' |