Merge pull request #18 from Harry-Hopkinson/check-code-matches-lint

Add a lint-checker script
This commit is contained in:
Jamie Pine 2022-04-24 14:05:51 -07:00 committed by GitHub
commit c8ca914514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Linter
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 15, 16]
steps:
- uses: actions/checkout@v2
- name: Code Linting
run: |
npm install prettier -g
prettier --check .