From db42b094c7205ef0865ec6be5dc45c6336adae6b Mon Sep 17 00:00:00 2001 From: tednguyendev <76901736+tednguyendev@users.noreply.github.com> Date: Wed, 24 May 2023 09:59:21 +0700 Subject: [PATCH] [#54] Test CI --- .github/workflows/nextjs_12_test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nextjs_12_test.yml b/.github/workflows/nextjs_12_test.yml index 6430aeb2..1fefd068 100644 --- a/.github/workflows/nextjs_12_test.yml +++ b/.github/workflows/nextjs_12_test.yml @@ -23,12 +23,13 @@ jobs: with: node-version: '16' cache: 'npm' + cache-dependency-path: 'nextjs-12/package-lock.json' - name: Install dependencies - run: npm ci + run: 'cd nextjs-12 && npm ci' - name: Run linter - run: npm run lint + run: 'cd nextjs-12 && npm run lint' - name: Run unit tests - run: npm run test:coverage + run: 'cd nextjs-12 && npm run test:coverage'