From 3a056346a241f7da816ef0ab4bc7f47f34090936 Mon Sep 17 00:00:00 2001 From: Florian Robert Date: Tue, 2 Apr 2024 21:58:18 +0200 Subject: [PATCH] add ci with test job --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..1e487c1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +on: + push: + branches: + - '*' +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: latest + - name: Install dependencies + run: npm install + - name: Run tests + run: npm test