From 3fd1f1a13bc7136e9b9db51ef08a8610f4f8a6c7 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:36:06 +0100 Subject: [PATCH] build: automatically format action.yml --- .husky/pre-commit | 2 +- action.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 652c6368c..6708bf466 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -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 diff --git a/action.yml b/action.yml index d0cf93cb1..b252c7256 100644 --- a/action.yml +++ b/action.yml @@ -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: diff --git a/package.json b/package.json index c46b70c5b..8d721eab9 100644 --- a/package.json +++ b/package.json @@ -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",