From d1c3f9a67521b7d34a06b96dd825e9a337bdb485 Mon Sep 17 00:00:00 2001 From: Erwann Mest Date: Sun, 5 Jul 2026 02:46:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20ci(github-actions):=20add=20CI?= =?UTF-8?q?=20workflow=20for=20main=20and=20PRs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a GitHub Actions CI pipeline that runs on push to main and on pull requests. Steps: checkout, setup Node 24 with npm cache, npm ci, typecheck, build, and test. --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..806af3f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - uses: actions/setup-node@v6 + with: + node-version: "24" + cache: npm + + - run: npm ci + + - run: npm run typecheck + + - run: npm run build + + - run: npm run test