diff --git a/.github/workflows/react.js.yml b/.github/workflows/react.js.yml index 1834750..56a3eb5 100644 --- a/.github/workflows/react.js.yml +++ b/.github/workflows/react.js.yml @@ -34,12 +34,9 @@ jobs: - name: Install dependencies run: npm install - - name: Run the tests and generate coverage report + - name: Run tests run: npm test - - name: Build - run: CI=false npm run build - - name: Deploy run: | git config --global user.name $user_name diff --git a/package.json b/package.json index fad0773..6e2e19a 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "test": "react-scripts test --passWithNoTests", "eject": "react-scripts eject", "predeploy": "npm run build", - "deploy": "gh-pages -d build" + "deploy": "CI=false gh-pages -d build" }, "eslintConfig": { "extends": [