Skip to content

Commit

Permalink
ci: add type-check and GHA CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
Beraliv committed Dec 8, 2024
1 parent b2c14b3 commit 2b8c3dc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: push

jobs:
checks:
name: Checks
timeout-minutes: 5
runs-on: ubuntu-latest

steps:
- name: Checkout to current branch
uses: actions/checkout@v3

- name: Setup node
uses: ./.github/actions/setup-node

- name: Caches node modules
uses: ./.github/actions/cache-node-modules

- name: Install dependencies
run: npm install

- name: Type check
run: npm run type-check
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy ts-conversion to S3
name: Deploy

on:
push:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest"
"test": "vitest",
"type-check": "tsc --noEmit --project tsconfig.app.json"
},
"dependencies": {
"react": "^18.2.0",
Expand Down

0 comments on commit 2b8c3dc

Please sign in to comment.