Skip to content

Create TS workflow

Create TS workflow #1

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: TypeScript
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
ts:
name: Run ts type-checking
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install TypeScript
run: |
npm i -g [email protected]
- name: Run TypeScript
run: tsc --project jsconfig.json