Skip to content

Commit

Permalink
build: add lint github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zigapk committed Jul 2, 2024
1 parent eb17bfc commit 8ce2ef8
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Lint
on:
push:
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- name: Lint
run: |
pnpm lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- name: Typecheck
run: |
pnpm tsc
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- name: Run prettier
run: |
pnpm format
8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# PR description :hammer:

Explain (in few sentences or bullet points) what has been done

## Author checklist :white_check_mark:

- [ ] :ticket: PR has been linked to Jira ticket
- [ ] :hourglass: Time has been tracked in Jira

0 comments on commit 8ce2ef8

Please sign in to comment.