Merge pull request #249 from AttorneyOnline/dependabot/github_actions… #10
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: Formatting | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '14' | |
cache: 'npm' | |
- name: Prettier Action | |
uses: creyD/[email protected] | |
with: | |
same_commit: false | |
prettier_options: --write **/*.json **/*.js **/*.ts **/*.html **/*.css **/*.md |