Skip to content

Commit f4747db

Browse files
authored
build: automatically format action.yml (#1376)
1 parent 013dd06 commit f4747db

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
55
echo
66
echo changes to action source code were detected
77
echo action source code changes are added to this commit
8-
git add index.js src/ping.js dist
8+
git add index.js src/ping.js dist action.yml
99
fi

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ inputs:
9191
description: 'Whether or not to silence any Cypress specific output from stdout'
9292
required: false
9393
component:
94-
description: "Lets the action know that Cypress is running component tests and not e2e tests"
94+
description: 'Lets the action know that Cypress is running component tests and not e2e tests'
9595
required: false
9696
default: false
9797
outputs:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"test": "echo \"There are no tests :(\"",
1414
"build": "ncc build -o dist index.js",
15-
"format": "prettier --write index.js src/ping.js",
15+
"format": "prettier --write index.js src/ping.js action.yml",
1616
"lint": "eslint",
1717
"check:markdown": "find *.md docs/*.md -print0 | xargs -0 -n1 markdown-link-check",
1818
"update:cypress": "./scripts/update-cypress-latest.sh",

0 commit comments

Comments
 (0)