From 9affd395ba9b585cb24fa78d52ac9766b5663fed Mon Sep 17 00:00:00 2001 From: Sofia Bilous Date: Thu, 2 Nov 2023 19:30:27 +0200 Subject: [PATCH] first variant --- .github/workflows/tests_fe.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/tests_fe.yml diff --git a/.github/workflows/tests_fe.yml b/.github/workflows/tests_fe.yml new file mode 100644 index 00000000..c27f9f38 --- /dev/null +++ b/.github/workflows/tests_fe.yml @@ -0,0 +1,26 @@ +name: Build and Test + +on: pull_request + +jobs: + build_and_test: + name: Testing # job name (unique id) + runs-on: ubuntu-latest # on which machine to run + steps: # list of steps + - name: Install NodeJS + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Code Checkout + uses: actions/checkout@v3 + + - name: Install Dependencies + run: | + cd FrontEnd + npm install + + - name: Code Testing + run: | + cd FrontEnd + npm test \ No newline at end of file