Add npm ci to GitHub actions.

Formatting currently being forced to preserve line endings because for
whatever reason that's only causing problems in CI.
This commit is contained in:
Dan Albert
2022-03-03 23:47:04 -08:00
parent 605d8f057f
commit 5230591dc2
3 changed files with 24 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"prepare": "eslint src",
"test": "react-scripts test",
"eject": "react-scripts eject",
"electron": "wait-on tcp:3000 && electron ."
@@ -36,6 +37,9 @@
"eslintConfig": {
"extends": "react-app"
},
"prettier": {
"endOfLine": "auto"
},
"browserslist": {
"production": [
">0.2%",