Skip to content

Commit 337b6e9

Browse files
committed
fix: use is-ci for check
1 parent 6b5f69a commit 337b6e9

File tree

4 files changed

+38
-7
lines changed

4 files changed

+38
-7
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
permissions:
1010
contents: read
1111

12-
env:
13-
HUSKY: 0
14-
1512
jobs:
1613
markdown_tables:
1714
name: Check Markdown Tables

.github/workflows/test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
permissions:
1010
contents: read
1111

12-
env:
13-
HUSKY: 0
14-
1512
jobs:
1613
lint:
1714
name: Lint

package-lock.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"test:tables": "npx markdown-table-formatter \"docs/**/*.{md,mdx}\" --check",
3030
"fix:tables": "npx markdown-table-formatter \"docs/**/*.{md,mdx}\"",
3131
"decorate:docs": "node tools/doxygen/generate-social-sdk-mapping.js && node tools/doxygen/decorate-social-sdk-references.js",
32-
"prepare": "npx husky || true"
32+
"prepare": "npx is-ci || npx husky"
3333
},
3434
"devDependencies": {
3535
"@actions/core": "^1.10.1",
@@ -43,6 +43,7 @@
4343
"eslint-config-prettier": "^9.1.0",
4444
"eslint-plugin-prettier": "^5.1.3",
4545
"husky": "9.1.7",
46+
"is-ci": "4.1.0",
4647
"js-yaml": "^4.1.0",
4748
"markdown-table-formatter": "^1.6.0",
4849
"mdast-util-from-markdown": "^2.0.1",

0 commit comments

Comments
 (0)