Skip to content

Commit 392baef

Browse files
committed
refactor: rename test job to lint and restructure type-check job in GitHub Actions workflow
1 parent 42b04c6 commit 392baef

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches: [main]
55

66
jobs:
7-
test:
7+
lint:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
@@ -21,5 +21,19 @@ jobs:
2121
- name: Run linter
2222
run: npm run lint
2323

24+
type-check:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@v4
29+
30+
- name: Set up Node
31+
uses: actions/setup-node@v3
32+
with:
33+
node-version: "lts/*"
34+
35+
- name: Install dependencies
36+
run: npm clean-install
37+
2438
- name: Run TypeCheck
2539
run: npm run type-check

0 commit comments

Comments
 (0)