Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: automatically format action.yml #1376

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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