Skip to content

Commit

Permalink
feat: add Logger model
Browse files Browse the repository at this point in the history
Sets up a basic TypeScript project which contains a Logger type.
  • Loading branch information
thewilkybarkid committed Mar 22, 2022
1 parent f7c33b4 commit 22d6f0a
Show file tree
Hide file tree
Showing 6 changed files with 1,339 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,22 @@ jobs:

- name: 'Run formatter'
run: npm run format

typecheck:
runs-on: ubuntu-20.04

steps:
- name: 'Checkout code'
uses: actions/checkout@v2

- name: 'Set up Node.js'
uses: actions/setup-node@v2
with:
node-version: 16
cache: ${{ !env.ACT && 'npm' || '' }}

- name: 'Install dependencies'
run: npm ci

- name: 'Run typechecker'
run: npm run typecheck
2 changes: 2 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"arrowParens": "avoid",
"importOrder": ["^[./]"],
"importOrderSortSpecifiers": true,
"printWidth": 120,
"semi": false,
"singleQuote": true,
Expand Down
Loading

0 comments on commit 22d6f0a

Please sign in to comment.