From adbaca4be3a749b6c1f98b894b7fece8ff03072c Mon Sep 17 00:00:00 2001 From: Anton Lazarev Date: Tue, 30 Jul 2024 10:37:03 -0700 Subject: [PATCH] add CI --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..11f6e47 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + pull_request: + branches: + - main + +jobs: + ci: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - name: Checkout + uses: actions/checkout + - name: Install node + uses: actions/setup-node + - name: Install npm dependencies + run: npm ci + - name: Compile typescript + run: npm run build + - name: Check for diffs + run: git diff --no-ext-diff --exit-code