Skip to content

Commit

Permalink
Add GitHub Actions workflow for TypeScript tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EvarinDev committed Sep 8, 2024
1 parent b097901 commit 21dee6a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 21dee6a

Please sign in to comment.