From db68b469775e2f1bf6cd80367060fac4e1f7a348 Mon Sep 17 00:00:00 2001 From: Anderson Coelho Date: Tue, 9 Sep 2025 21:36:05 -0400 Subject: [PATCH] chore: config ci jobs --- .github/workflows/run-unit.tests.yml | 19 +++++++++++++++++++ package.json | 1 + 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/run-unit.tests.yml diff --git a/.github/workflows/run-unit.tests.yml b/.github/workflows/run-unit.tests.yml new file mode 100644 index 0000000..effba18 --- /dev/null +++ b/.github/workflows/run-unit.tests.yml @@ -0,0 +1,19 @@ +name: Run Unit Tests + +on: [push] + +jobs: + run-unit-tests: + name: Run Unit Tests + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + + - run: npm ci + + - run: npm run test \ No newline at end of file diff --git a/package.json b/package.json index 160a6af..9bf5b19 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "gogym-api", + "type": "module", "version": "1.0.0", "description": "Application for registration and check-in at gyms", "main": "index.js",