Skip to content

Commit

Permalink
Create prettyAutoForm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket13011 authored Sep 13, 2023
1 parent e9c66cb commit 8d057bd
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/prettyAutoForm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name : 'Pretty Auto Form'

Check failure on line 1 in .github/workflows/prettyAutoForm.yml

View workflow job for this annotation

GitHub Actions / Prettier

.github/workflows/prettyAutoForm.yml#L1

There are issues with this file's formatting, please run Prettier to fix the errors

on:
push:
branches:
- test-lint
paths:
- "**.css"
- "**.js"
- "**.html"
pull_request:
branches:
- test-lint
paths:
- "**.css"
- "**.js"
- "**.html"

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 14

# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm i prettier

- name: Run linters
uses: wearerequired/lint-action@v2
with:
pretty: true
auto_fix: true
pretty_auto_fix: true
git_email: [email protected]
git_name: 'JeedomBot lint Pretty'

0 comments on commit 8d057bd

Please sign in to comment.