2023-01-03 11:00:39 -07:00
|
|
|
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
|
2023-07-12 09:56:01 -07:00
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
2023-01-03 11:00:39 -07:00
|
|
|
|
|
|
|
- name: Setup node environment
|
2023-07-12 09:56:01 -07:00
|
|
|
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
|
2023-01-03 11:00:39 -07:00
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
check-latest: true
|
|
|
|
cache: npm
|
|
|
|
|
|
|
|
- name: Install Node.js dependencies
|
|
|
|
run: npm ci --no-audit
|
|
|
|
|
|
|
|
- name: Run tsc
|
2023-03-10 10:33:12 -07:00
|
|
|
run: npm run build:check
|