Skip to content

Merge pull request #7 from codewitgabi/codewitgabi #2

Merge pull request #7 from codewitgabi/codewitgabi

Merge pull request #7 from codewitgabi/codewitgabi #2

Workflow file for this run

name: Formatter
run-name: Check for file formatting
on:
push:
branches:
- main
pull-request:
branches:
- "*"
jobs:
check-file-formatting:

Check failure on line 12 in .github/workflows/formatter.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/formatter.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20.2.0
cache: npm
- name: Install dependencies
run: npm i -g prettier
- name: Check if file is formated
run: |
prettier --check .
- run: echo Done