From c50cc3c2dd52e5e882a4df7a888b2bf2a56cd180 Mon Sep 17 00:00:00 2001 From: Michael Hadley Date: Wed, 29 Jan 2025 10:13:43 -0600 Subject: [PATCH] Add CI check that TS build works (#37) * Create build.yml Add CI check that build works * Test TS failing * Revert "Test TS failing" This reverts commit e6dc1c8458d59d5f25c15d621d391acc8f6e51ba. * Clean up comments --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2c97e97 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: CI checks + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - run: npm ci + - run: npm run build