Create tsc.yml
This commit is contained in:
20
.github/workflows/tsc.yml
vendored
Normal file
20
.github/workflows/tsc.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: TypeScript Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Adjust branch name as needed
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Run TypeScript compilation
|
||||
run: npm run build # Or replace with your build command
|
||||
Reference in New Issue
Block a user