Skip to content

Commit

Permalink
add github actions. closes #3. (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgarropy authored Jun 10, 2024
1 parent b853787 commit 804d5d4
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "format"

on: pull_request

jobs:
style:
name: "format"
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v4
- name: "setup node"
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: "install"
run: npm ci
- name: "format"
run: npm run format
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "lint"

on: pull_request

jobs:
style:
name: "lint"
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v4
- name: "setup node"
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: "install"
run: npm ci
- name: "lint"
run: npm run lint
20 changes: 20 additions & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "typecheck"

on: pull_request

jobs:
style:
name: "typecheck"
runs-on: ubuntu-latest
steps:
- name: "checkout"
uses: actions/checkout@v4
- name: "setup node"
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: "install"
run: npm ci
- name: "typecheck"
run: npm run typecheck

0 comments on commit 804d5d4

Please sign in to comment.