From e84f8c780242b364c4ed1b9616820c9174b6f937 Mon Sep 17 00:00:00 2001 From: Erwann Mest Date: Sun, 5 Jul 2026 02:47:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20ci(github-actions):=20add=20CI?= =?UTF-8?q?=20workflow=20for=20test,=20build,=20and=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..fa2080b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +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' + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build + + - name: Test + run: npm run test + + - name: Lint + run: npm run lint