From cd8ed163c73c7d1cf5b1cf04d02f8e9ab74886b7 Mon Sep 17 00:00:00 2001 From: bikilaketema Date: Fri, 25 Apr 2025 11:14:20 +0300 Subject: [PATCH 1/2] added workflow file for the test --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..042867f8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Run Tests + +on: + push: + branches: [main] + pull_request: + branches: ['*'] + +jobs: + test: + name: Run TEST + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.x' + cache: 'npm' + + - name: Install Dependencies + run: npm install + + - name: Run Tests + run: npm run test From d28ab5443c91872b0bafc56387c8220e440dd0ec Mon Sep 17 00:00:00 2001 From: bikilaketema Date: Thu, 29 May 2025 10:34:10 +0300 Subject: [PATCH 2/2] updated the push branch to all --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 042867f8..b1db9cd7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Run Tests on: push: - branches: [main] + branches: ['*'] pull_request: branches: ['*']