From 8b855ef1f5b5ec04ffdefc3ca362072cba272784 Mon Sep 17 00:00:00 2001 From: TheTunchi <166724499+TheTunchi@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:11:32 +0300 Subject: [PATCH] Create build-test-deploy.yml --- .github/workflows/build-test-deploy.yml | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build-test-deploy.yml diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml new file mode 100644 index 0000000..49a6a1e --- /dev/null +++ b/.github/workflows/build-test-deploy.yml @@ -0,0 +1,30 @@ + +name: Build and Test +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + + steps: + - name: check out the repo + uses: actions/checkout@v4 + - name: Use Node.js 20.x + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: 'npm' + - name: install npm dependencies + run: npm install + - name: start backend + run: npm run start-be + - name: start frontend + run: npm run start-fe + - name: start test + run: npm run test:ui