prettier node scripts and fix CI workflow
parent
08eb33ed28
commit
bed09aa46d
|
@ -28,12 +28,8 @@ jobs:
|
|||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
<<<<<<< HEAD
|
||||
node-version: '18.x'
|
||||
- name: run Prettier
|
||||
run: npx prettier --check .
|
||||
=======
|
||||
node-version: "18.x"
|
||||
>>>>>>> 229a8cf (format all with prettier)
|
||||
- name: Run npm
|
||||
run: npm install && npm run build
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
"watch": "eleventy --watch",
|
||||
"serve": "eleventy --serve",
|
||||
"start": "eleventy --serve",
|
||||
"debug": "DEBUG=* eleventy"
|
||||
"debug": "DEBUG=* eleventy",
|
||||
"prettier-write": "npx prettier --write --ignore-unknown .",
|
||||
"prettier-check": "npx prettier --check ."
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue