Skip to content

Commit

Permalink
Add linter and formatter for every file
Browse files Browse the repository at this point in the history
  • Loading branch information
IAvecilla committed Nov 3, 2022
1 parent 151e8dd commit c496e02
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Aleo JS CI
on: push
jobs:
check-formatting:
runs-on: [self-hosted]
name: Check Formatting
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18"

- run: npm ci
- run: npx prettier --check .

lint:
runs-on: [self-hosted]
name: Run Linters
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18"

- run: npm ci
- run: npx eslint .

0 comments on commit c496e02

Please sign in to comment.