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