From 87ad9aeb2b768061adb2d4dd4a7c4f85b1a67f69 Mon Sep 17 00:00:00 2001 From: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com> Date: Sun, 14 Apr 2024 12:19:04 -0400 Subject: [PATCH] feat: tsc workflow --- .github/workflows/transpile.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/transpile.yml diff --git a/.github/workflows/transpile.yml b/.github/workflows/transpile.yml new file mode 100644 index 0000000..3b19a9f --- /dev/null +++ b/.github/workflows/transpile.yml @@ -0,0 +1,26 @@ +name: Transpile code + +on: + push: + branches: + - main + +jobs: + build: + name: Transpile code + runs-on: ubuntu-latest + steps: + - name: check out code + uses: actions/checkout@v4 + + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + + - name: Install dependencies + run: npm ci + + - name: Build + run: npx tsc