From 21dee6a1cbbf024ff7d6b72d748d143f3d049f64 Mon Sep 17 00:00:00 2001 From: FAYStarNext <phasordev@gmail.com> Date: Sun, 8 Sep 2024 01:53:45 +0000 Subject: [PATCH] Add GitHub Actions workflow for TypeScript tests --- .github/workflows/build-test.yml | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/build-test.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..c0c225b --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,34 @@ +name: Check Typescript + +on: + push: + branches: + - main + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + test-typescript: + name: TypeScript Tests + runs-on: ubuntu-latest + + steps: + - uses: actions/setup-node@v4 + - uses: oven-sh/setup-bun@v2 + + - name: Checkout + id: checkout + uses: actions/checkout@v4 + + - name: Install Dependencies + id: bun-install + run: bun install + + - name: Build + id: ts-build + - run: bun x tsc + - run: bun run build:js \ No newline at end of file