Skip to content

Commit

Permalink
chore: add lint github action (#734)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Molnar <nicholas@xmtp.com>
Co-authored-by: bigint <69431456+bigint@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 5, 2022
1 parent a96ffe3 commit 7329b45
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint

on:
push:
branches: [main]
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: borales/actions-yarn@v3.0.0
with:
cmd: install
- uses: borales/actions-yarn@v3.0.0
with:
cmd: typecheck
- uses: borales/actions-yarn@v3.0.0
with:
cmd: lint
- uses: borales/actions-yarn@v3.0.0
with:
cmd: prettier:check

1 comment on commit 7329b45

@vercel
Copy link

@vercel vercel bot commented on 7329b45 Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.