Skip to content

Merge pull request #304 from Kernel360/303-feat-install-error-logging… #355

Merge pull request #304 from Kernel360/303-feat-install-error-logging…

Merge pull request #304 from Kernel360/303-feat-install-error-logging… #355

Workflow file for this run

name: Lint and Type Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Run TypeScript type check
run: npx tsc --noEmit
- name: Run ESLint
run: npm run lint