From 586616abb90cf58674577cf6f7e8391fa7029e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Marek?= <104318242+radekm2000@users.noreply.github.com> Date: Sun, 18 Feb 2024 20:30:10 +0100 Subject: [PATCH] create basic workflow --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9115689 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Backend build CI +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + env: + APP_PATH: server/ecommerce + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - name: Installing dependencies + run: cd $APP_PATH$ && npm i + - name: Run tests + run: cd $APP_PATH$ && npm test + +