Add test command for CI
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
with:
|
||||
node-version: "16"
|
||||
- run: npm install
|
||||
- run: npm run test
|
||||
- run: npm run test:ci
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"test": "jest --watch",
|
||||
"test:ci": "jest",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "eslint --max-warnings 0 \"./**/*.{js,jsx,ts,tsx}\"",
|
||||
|
||||
Reference in New Issue
Block a user