mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 18:38:25 -07:00
30 lines
681 B
YAML
30 lines
681 B
YAML
name: TypeScript Build Check
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, release* ]
|
|
pull_request:
|
|
branches: [ master, release* ]
|
|
|
|
jobs:
|
|
tsc:
|
|
name: Run TypeScript build check
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
|
|
|
- name: Setup node environment
|
|
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
|
|
with:
|
|
node-version: 16
|
|
check-latest: true
|
|
cache: npm
|
|
|
|
- name: Install Node.js dependencies
|
|
run: npm ci --no-audit
|
|
|
|
- name: Run tsc
|
|
run: npm run build:check
|