From dab41d7282618528301674eebc02060f2944e870 Mon Sep 17 00:00:00 2001 From: CountBleck Date: Wed, 28 May 2025 17:35:06 -0700 Subject: [PATCH 1/2] breaking: bump supported Node.js version to v20+ --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index e2bceb3ad0..bfaa253c9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "typescript": "^5.7.3" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=10" }, "funding": { diff --git a/package.json b/package.json index cf320be2a8..39a9e67e54 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/AssemblyScript/assemblyscript/issues" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=10" }, "engineStrict": true, From c54904da6f7a1bc08be9968ee5b6c2b03e22697e Mon Sep 17 00:00:00 2001 From: CountBleck Date: Wed, 28 May 2025 17:44:18 -0700 Subject: [PATCH 2/2] chore: "break" -> "breaking" in PR title prefix workflow aspublish checks for "breaking", not "break" --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 88232d9ff3..ac9170348d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,7 +13,7 @@ jobs: uses: actions/github-script@v7 with: script: | - const titlePrefixes = ["feat", "fix", "break", "chore"]; + const titlePrefixes = ["feat", "fix", "breaking", "chore"]; const title = context.payload.pull_request.title.toLowerCase(); const titleHasValidPrefix = titlePrefixes.some((prefix) => title.startsWith(`${prefix}:`)); if (!titleHasValidPrefix) { process.exit(-1); }