mirror of
https://github.com/captn3m0/youtube-cue.git
synced 2024-09-07 04:46:25 +00:00
[ci] Add prettier to CI
This commit is contained in:
parent
9cc3cd4228
commit
44e68fc140
15
.github/workflows/action.yml
vendored
15
.github/workflows/action.yml
vendored
@ -4,13 +4,14 @@ jobs:
|
||||
tests:
|
||||
strategy:
|
||||
matrix:
|
||||
node: ['16', '14', '12']
|
||||
node: ["16", "14", "12"]
|
||||
name: Run NPM Stuff
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{matrix.node}}
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{matrix.node}}
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
- run: npm run test
|
||||
|
@ -5,7 +5,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "mocha",
|
||||
"lint": "prettier --check ."
|
||||
"lint": "prettier --check *.js src/*.js test/*.js"
|
||||
},
|
||||
"bin": "index.js",
|
||||
"author": "Nemo <npm@captnemo.in>",
|
||||
|
Loading…
Reference in New Issue
Block a user