Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Create Prettier Workflow (#47)
Browse files Browse the repository at this point in the history
* Create prettier.yml

Signed-off-by: Aram <[email protected]>

* Update prettier.yml

* ignore this commit

---------

Signed-off-by: Aram <[email protected]>
  • Loading branch information
aramshiva authored Mar 30, 2024
1 parent 9305bf2 commit 0b0b49a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Prettier

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
prettier:
runs-on: ubuntu-latest
name: Prettier
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "20.x"
cache: "npm"

- name: Install Dependencies
run: npm i

- name: Run Prettier
run: npx prettier --check .
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# INSERT QUIDE ON HOW TO CONTRIBUTE HERE

0 comments on commit 0b0b49a

Please sign in to comment.