Skip to content

Commit

Permalink
Create TS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Fernández Serrata committed Mar 6, 2024
1 parent 8d970fb commit 80e077b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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 typescript@5.3.3
- name: Run TypeScript
run: tsc --project jsconfig.json

0 comments on commit 80e077b

Please sign in to comment.