Skip to content

Commit 6586ad2

Browse files
chore: update ci config
1 parent 03e9e23 commit 6586ad2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci
28-
- run: npm run format
28+
- run: npm run format:check
2929
- run: npm run build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"author": "James George",
88
"license": "MIT",
99
"scripts": {
10+
"format:check": "prettier --check index.js",
1011
"format": "prettier --write index.js",
1112
"build": "ncc build index.js -o dist"
1213
},

0 commit comments

Comments
 (0)