Co-authored-by: Ohm Patel <ohm.patel@uwaterloo.ca> Co-committed-by: Ohm Patel <ohm.patel@uwaterloo.ca>
This commit is contained in:
parent
2fbccbc523
commit
fb08d1e1c6
|
@ -0,0 +1,17 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: node
|
||||
commands:
|
||||
- npm install
|
||||
- npm run-s test:ci
|
||||
|
||||
- name: lint
|
||||
image: node
|
||||
commands:
|
||||
- npm run-s lint:nofix
|
||||
trigger:
|
||||
event:
|
||||
- push
|
|
@ -9,7 +9,8 @@
|
|||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "prettier -w ./__tests__ ./src && next lint && eslint ./__tests__ --fix",
|
||||
"lint": "prettier -w ./__tests__ ./src && next lint --fix && eslint ./__tests__ --fix",
|
||||
"lint:nofix": "prettier -l ./__tests__ ./src && next lint --quiet && eslint ./__tests__",
|
||||
"test": "jest",
|
||||
"test:ci": "jest --ci --coverage"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue