Skip to content

Commit

Permalink
build: automatically format action.yml (cypress-io#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Feb 27, 2025
1 parent 013dd06 commit f4747db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo
echo changes to action source code were detected
echo action source code changes are added to this commit
git add index.js src/ping.js dist
git add index.js src/ping.js dist action.yml
fi
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ inputs:
description: 'Whether or not to silence any Cypress specific output from stdout'
required: false
component:
description: "Lets the action know that Cypress is running component tests and not e2e tests"
description: 'Lets the action know that Cypress is running component tests and not e2e tests'
required: false
default: false
outputs:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"test": "echo \"There are no tests :(\"",
"build": "ncc build -o dist index.js",
"format": "prettier --write index.js src/ping.js",
"format": "prettier --write index.js src/ping.js action.yml",
"lint": "eslint",
"check:markdown": "find *.md docs/*.md -print0 | xargs -0 -n1 markdown-link-check",
"update:cypress": "./scripts/update-cypress-latest.sh",
Expand Down

0 comments on commit f4747db

Please sign in to comment.