From 5cf9e1d1a2c07fdcee73907c723d857fa5791a33 Mon Sep 17 00:00:00 2001 From: mateusz Date: Mon, 25 Dec 2023 21:17:04 +0100 Subject: [PATCH] fix: test pipeline --- .github/workflows/test.yml | 2 +- next.config.js | 2 +- package-lock.json | 1 + package.json | 6 +++++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 355fcd9..6668251 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,4 +13,4 @@ jobs: uses: ./.github/workflows/setup-node - name: Test 🧪 - run: npm run test + run: npm run test-coverage diff --git a/next.config.js b/next.config.js index 82af856..4b541e1 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'export', + output: "export", reactStrictMode: true, }; diff --git a/package-lock.json b/package-lock.json index 4ece936..80c6995 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "2048-in-react", "version": "0.2.0", + "license": "MIT", "dependencies": { "@types/node": "20.5.1", "@types/react": "18.2.20", diff --git a/package.json b/package.json index b31967d..12baf56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "2048-in-react", "version": "0.2.0", + "homepage": "https://mateuszsokola.github.io/2048-in-react/", + "author": "Mateusz Sokola (https://mateu.sh/)", + "license": "MIT", "scripts": { "dev": "next dev", "build": "next build", @@ -8,7 +11,8 @@ "lint": "next lint", "check-code": "prettier --check .", "format": "prettier --write .", - "test": "jest --watch" + "test": "jest --watch", + "test-coverage": "jest --coverage --verbose" }, "dependencies": { "@types/node": "20.5.1",