From 0921471ff4309c11d50280ec216849685afdc6b6 Mon Sep 17 00:00:00 2001 From: panayiotisgeorgiou Date: Tue, 8 Oct 2024 18:43:32 +0300 Subject: [PATCH] added action --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 00000000..51c35f6b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' # Specify the Node.js version you are using + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test # Adjust this if your test command is different