Skip to content

fix: accept either quote style for the node version in action.yml - #106

Merged
koji-1009 merged 1 commit into
mainfrom
chore/yaml-double-quotes
Nov 1, 2026
Merged

koji-1009 merged 1 commit into
mainfrom
chore/yaml-double-quotes

Conversation

@koji-1009

Copy link
Copy Markdown
Owner

Follow-up to #104. Switches YAML formatting to Biome's default double quotes.

Changes

  • build.mjs now matches the node version in action.yml with either quote style (/using:\s*(['"])node(\d+)\1/). It previously required using: 'nodeXX', so double-quoting action.yml made npm run package fail with Could not find node version in action.yml.
  • Remove the yaml.formatter.quoteStyle: "single" override from biome.json. YAML now uses Biome's default double quotes, the same as javascript.formatter.quoteStyle and JSON.
  • Reformat action.yml, workflows, and YAML examples in README.md with double quotes. .github/dependabot.yml returns to its original double quotes.

Verification

  • npm run lint passes.
  • npx vitest run --coverage: 292 tests pass, coverage 100%.
  • npm run package succeeds with no dist/ diff (esbuild target stays node24).

🤖 Generated with Claude Code

- Match both 'nodeXX' and "nodeXX" in build.mjs
- Drop the YAML quoteStyle override and use Biome's default double quotes
- Reformat YAML files with double quotes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@koji-1009
koji-1009 merged commit 2b83404 into main Nov 1, 2026
8 checks passed
@koji-1009
koji-1009 deleted the chore/yaml-double-quotes branch November 1, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants