Skip to content

Commit

Permalink
chore: add tsc job
Browse files Browse the repository at this point in the history
  • Loading branch information
larwaa committed Jul 15, 2023
1 parent a4e8cd3 commit cc0fbcb
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
cache-dependency-path: package-lock.json

Expand All @@ -48,7 +48,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
cache-dependency-path: package-lock.json

Expand All @@ -58,6 +58,26 @@ jobs:
- name: Run Lint
run: npm run lint

typescript:
name: Typescript
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: package-lock.json

- name: Install Dependencies
run: npm ci

- name: Run tsc
run: npm run tsc

build:
name: Build
runs-on: ubuntu-latest
Expand All @@ -68,7 +88,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
cache-dependency-path: package-lock.json

Expand Down Expand Up @@ -103,7 +123,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
cache-dependency-path: package-lock.json

Expand Down

0 comments on commit cc0fbcb

Please sign in to comment.