mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
41 lines
752 B
YAML
41 lines
752 B
YAML
name: TypeScript static analysis
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'fix'
|
|
paths:
|
|
- '**.ts'
|
|
- 'package-lock.json'
|
|
- 'tsconfig.json'
|
|
- '.github/workflows/ts-check.yml'
|
|
|
|
pull_request:
|
|
paths:
|
|
- '**.ts'
|
|
- 'package-lock.json'
|
|
- 'tsconfig.json'
|
|
- '.github/workflows/ts-check.yml'
|
|
|
|
jobs:
|
|
typescript-check:
|
|
name: TypeScript check
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '24'
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Run TypeScript check
|
|
run: npx tsc --noEmit
|