diff --git a/.github/workflows/检查配置.yaml b/.github/workflows/检查配置.yaml index e7202e2..ca20c21 100644 --- a/.github/workflows/检查配置.yaml +++ b/.github/workflows/检查配置.yaml @@ -14,7 +14,3 @@ jobs: pnpm renovate-config-validator; pnpm run validator; pnpm run dry-run:npx; - - - name: for regex - run: npx semantic-release@24 - if: false diff --git a/default.json5 b/default.json5 index 0c27fda..36d2759 100644 --- a/default.json5 +++ b/default.json5 @@ -29,12 +29,13 @@ ], "customManagers": [ // https://semantic-release.gitbook.io/semantic-release/usage/installation#notes - // == npx semantic-release@xx == + /* === run: npx semantic-release@24 === */ { "customType": "regex", "description": "Update semantic-release version used by npx", "fileMatch": [ - "^\\.github/workflows/[^/]+\\.ya?ml$" + "^\\.github/workflows/[^/]+\\.ya?ml$", + "^default\\.json5$" ], "matchStrings": [ "\\srun: npx semantic-release@(?.*?)\\s" @@ -42,12 +43,13 @@ "datasourceTemplate": "npm", "depNameTemplate": "semantic-release" }, - // == + /* === use-node-version=16.0.0 === */ { "customType": "regex", "description": "Update Node.js version configured in `.npmrc`. match `use-node-version=22.9.0`", "fileMatch": [ - "^\\.npmrc$" + "^\\.npmrc$", + "^default\\.json5$" ], "matchStrings": [ "use-node-version=(?.*?)$"