Skip to content

Merge pull request #694 from kristof-mattei/renovate/node-18.x #1156

Merge pull request #694 from kristof-mattei/renovate/node-18.x

Merge pull request #694 from kristof-mattei/renovate/node-18.x #1156

Workflow file for this run

name: Prettier
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
show-progress: false
- name: Setup Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Install dependencies
shell: bash
run: |
npm ci --ignore-scripts
- name: Run Prettier
shell: bash
run: |
npx --no-install prettier --check .