From 0f42ebfe8bf39927d267ceda410ffc59e4147fe7 Mon Sep 17 00:00:00 2001 From: maruf hasan Date: Thu, 5 Oct 2023 19:40:33 +0600 Subject: [PATCH] Create Ci.yml --- .github/workflows/Ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..520ffab --- /dev/null +++ b/.github/workflows/Ci.yml @@ -0,0 +1,24 @@ +name: Continuous Integration + +on: + push: + branches: + - master + +jobs: + build: + name: Code tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: 20 + cache: npm + + - name: 📦 Install dependencies + run: npm ci + + - name: 🧪 Run all tests + run: npm run test