From d4f1aba7b27c4d4d78e863adcb8ca1e499f8ba75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:34:59 +0800 Subject: [PATCH] default.json5 --- .github/workflows/检查配置.yaml | 4 ---- default.json5 | 10 ++++++---- 2 files changed, 6 insertions(+), 8 deletions(-) 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=(?.*?)$"