From 3a45e2322d72fa1ecdf27e43721a59839a54f64f Mon Sep 17 00:00:00 2001 From: SnippetsX Date: Tue, 12 Nov 2024 12:00:10 +0300 Subject: [PATCH] Added ci/cd --- .gitea/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..8557160 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,27 @@ +name: Testing Example +on: + push: + branches: + - master + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '14.0.x' + + - name: Install dependencies + run: npm install + + - name: Build app + run: npm run build + + - name: Run automated tests + run: npm test + \ No newline at end of file