build(deps-dev): bump prettier from 3.2.4 to 3.3.3 #3670
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@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 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/github-action@v2.3.0 | |
if: matrix.node == env.NODE_COV | |
continue-on-error: true | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' |