From 88d0ed057770205175372d77e40072e20d014c93 Mon Sep 17 00:00:00 2001 From: Bradley Xu Date: Fri, 16 Aug 2024 14:45:19 +0800 Subject: [PATCH] ci: update node version to 18, use GITHUB_TOKEN instead of personal (#653) --- .changeset/config.json | 5 ++++- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/version.yml | 4 ++-- packages/pkg/tests/fixtures/alias/CHANGELOG.md | 10 ---------- packages/pkg/tests/fixtures/alias/package.json | 4 ++-- packages/pkg/tests/fixtures/default/CHANGELOG.md | 10 ---------- packages/pkg/tests/fixtures/default/package.json | 4 ++-- 8 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 packages/pkg/tests/fixtures/alias/CHANGELOG.md delete mode 100644 packages/pkg/tests/fixtures/default/CHANGELOG.md diff --git a/.changeset/config.json b/.changeset/config.json index a6bb191c..d69ac01b 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,7 +7,10 @@ "access": "restricted", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [], + "ignore": [ + "@ice/pkg-tests-*", + "example-*" + ], "snapshot": { "useCalculatedVersion": true, "prereleaseTemplate": "{tag}-{commit}-{datetime}" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58b9cbf2..fea30268 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [16] + node-version: [18] steps: - name: Set branch name diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78357382..2f53f419 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [16] + node-version: [18] steps: - name: Checkout Branch @@ -36,5 +36,5 @@ jobs: with: publish: pnpm release env: - GITHUB_TOKEN: ${{ secrets.LUHC228_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 9ec960ea..4e50ce01 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [16] + node-version: [18] steps: - name: Checkout Branch @@ -35,4 +35,4 @@ jobs: with: version: pnpm run version env: - GITHUB_TOKEN: ${{ secrets.LUHC228_GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/pkg/tests/fixtures/alias/CHANGELOG.md b/packages/pkg/tests/fixtures/alias/CHANGELOG.md deleted file mode 100644 index 54b4692b..00000000 --- a/packages/pkg/tests/fixtures/alias/CHANGELOG.md +++ /dev/null @@ -1,10 +0,0 @@ -# @ice/pkg-tests-fixtures-alias - -## null - -### Patch Changes - -- Updated dependencies [fabaecb] -- Updated dependencies [fabaecb] -- Updated dependencies [fabaecb] - - @ice/pkg@1.5.23 diff --git a/packages/pkg/tests/fixtures/alias/package.json b/packages/pkg/tests/fixtures/alias/package.json index 62606260..04f338b4 100644 --- a/packages/pkg/tests/fixtures/alias/package.json +++ b/packages/pkg/tests/fixtures/alias/package.json @@ -1,8 +1,8 @@ { "name": "@ice/pkg-tests-fixtures-alias", + "version": "0.0.0", "private": true, "dependencies": { "@ice/pkg": "workspace:*" - }, - "version": null + } } diff --git a/packages/pkg/tests/fixtures/default/CHANGELOG.md b/packages/pkg/tests/fixtures/default/CHANGELOG.md deleted file mode 100644 index f7befc4b..00000000 --- a/packages/pkg/tests/fixtures/default/CHANGELOG.md +++ /dev/null @@ -1,10 +0,0 @@ -# @ice/pkg-tests-fixtures-default - -## null - -### Patch Changes - -- Updated dependencies [fabaecb] -- Updated dependencies [fabaecb] -- Updated dependencies [fabaecb] - - @ice/pkg@1.5.23 diff --git a/packages/pkg/tests/fixtures/default/package.json b/packages/pkg/tests/fixtures/default/package.json index 6c610022..f6d47609 100644 --- a/packages/pkg/tests/fixtures/default/package.json +++ b/packages/pkg/tests/fixtures/default/package.json @@ -1,8 +1,8 @@ { "name": "@ice/pkg-tests-fixtures-default", + "version": "0.0.0", "private": true, "dependencies": { "@ice/pkg": "workspace:*" - }, - "version": null + } }