Skip to content

Commit

Permalink
Create linting.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
metabiswadeep authored Jun 19, 2023
1 parent ec23690 commit f28464c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Linting

on: [push, pull_request]

jobs:

Linting:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Lint code with prettier
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{js,md}

0 comments on commit f28464c

Please sign in to comment.