From 04b1b18813278c8b9d444db4f5b4c3258d0e17a5 Mon Sep 17 00:00:00 2001 From: olha-dev-fullstack Date: Thu, 27 Feb 2025 11:13:35 +0200 Subject: [PATCH 1/3] change test --- src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index 54f7c06..e10c959 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -47,7 +47,7 @@ import { SchoolModule } from './school/school.module'; }, { provide: 'APP_NAME', - useValue: 'The best Nest events backend', + useValue: 'The Nest events application backend', }, { provide: 'MESSAGE', From 476f128bbae4c60a72b47307435c308315b2135d Mon Sep 17 00:00:00 2001 From: olha-dev-fullstack Date: Thu, 27 Feb 2025 11:32:46 +0200 Subject: [PATCH 2/3] change test --- .github/workflows/run-tests.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d92bc33..9d21b54 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,14 +10,7 @@ jobs: steps: - name: Get code uses: actions/checkout@v4 - - name: Cache dependencies - id: cache - uses: actions/cache@v4 - with: - path: node_modules - key: deps-node-modules-${{ hashFiles('**/package-lock.json') }} - - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' + - name: Install dependencies run: npm ci test: runs-on: ubuntu-latest From 1b006ee64e62bd466ea3f8ae4356ebbef1b7422b Mon Sep 17 00:00:00 2001 From: olha-dev-fullstack Date: Thu, 27 Feb 2025 11:39:13 +0200 Subject: [PATCH 3/3] fix tests workflow --- .github/workflows/run-tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9d21b54..c4e3702 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,17 +4,19 @@ on: pull_request: workflow_dispatch: jobs: - checkout: + test: runs-on: ubuntu-latest - environment: dev steps: - name: Get code uses: actions/checkout@v4 - - name: Install dependencies + - name: Cache dependencies + id: cache + uses: actions/cache@v4 + with: + path: node_modules + key: deps-node-modules-${{ hashFiles('**/package-lock.json') }} + - name: Install dependencies + if: steps.cache.outputs.cache-hit != 'true' run: npm ci - test: - runs-on: ubuntu-latest - needs: checkout - steps: - name: Run tests run: npm run test \ No newline at end of file