From 675a4dd49ec3e738cbb9e2996aac92f52f182159 Mon Sep 17 00:00:00 2001 From: paripsky Date: Tue, 12 Aug 2025 21:38:31 +0300 Subject: [PATCH] first commit --- content/.github/workflows/unit-test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 content/.github/workflows/unit-test.yml diff --git a/content/.github/workflows/unit-test.yml b/content/.github/workflows/unit-test.yml new file mode 100644 index 00000000..88937781 --- /dev/null +++ b/content/.github/workflows/unit-test.yml @@ -0,0 +1,23 @@ +name: Unit Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout respository + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + - run: npm ci + name: Install modules from npm + - run: npm run build + name: Build the application + - run: npm test + name: Run the tests \ No newline at end of file