Skip to content

Merge pull request #4968 from open-formulieren/feature/build-pdf-docs #4186

Merge pull request #4968 from open-formulieren/feature/build-pdf-docs

Merge pull request #4968 from open-formulieren/feature/build-pdf-docs #4186

name: Frontend code quality checks
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- master
- stable/*
tags:
paths:
- '**.scss'
- '**.js'
- '**.yaml'
pull_request:
paths:
- '**.scss'
- '**.js'
- '**.yaml'
workflow_dispatch:
jobs:
prettier:
name: Check frontend code formatting with prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install prettier
run: |
npm ci --legacy-peer-deps
- name: Run prettier
run: |
npm run checkformat