From 45fcd5de9d60df29d63269ab43f1dbded10cdd99 Mon Sep 17 00:00:00 2001 From: Robin Schmidt Date: Mon, 4 Mar 2024 01:17:36 +0100 Subject: [PATCH 1/6] chore(ci): update github action versions --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- .github/common-actions/install/action.yml | 4 ++-- .github/workflows/QA.yaml | 10 +++++----- .github/workflows/release.yaml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f8829f8896..2c6af644b4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -103,6 +103,6 @@ body: - "Safari" - "Edge" - "Opera" - - "Other (add additonal context)" + - "Other (add additional context)" validations: - required: true \ No newline at end of file + required: true diff --git a/.github/common-actions/install/action.yml b/.github/common-actions/install/action.yml index dced5a2648..51e559cf1d 100644 --- a/.github/common-actions/install/action.yml +++ b/.github/common-actions/install/action.yml @@ -5,12 +5,12 @@ runs: using: composite steps: - name: Install dependencies - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 8 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/QA.yaml b/.github/workflows/QA.yaml index c3ec988b12..22f2165a43 100644 --- a/.github/workflows/QA.yaml +++ b/.github/workflows/QA.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install uses: ./.github/common-actions/install @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install uses: ./.github/common-actions/install @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install uses: ./.github/common-actions/install @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install uses: ./.github/common-actions/install @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install uses: ./.github/common-actions/install diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6aaf581c89..fd8062289d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install uses: ./.github/common-actions/install From 2d3d9a1680f9ef205b672ba26ccefa111c6f3e73 Mon Sep 17 00:00:00 2001 From: Robin Schmidt Date: Sat, 11 May 2024 01:23:12 +0200 Subject: [PATCH 2/6] chore(ci): update pnpm, gh-action and node versions --- .changeset/long-boxes-joke.md | 2 ++ .github/common-actions/install/action.yml | 4 ++-- CONTRIBUTING.md | 2 +- package.json | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 .changeset/long-boxes-joke.md diff --git a/.changeset/long-boxes-joke.md b/.changeset/long-boxes-joke.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/long-boxes-joke.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/common-actions/install/action.yml b/.github/common-actions/install/action.yml index 51e559cf1d..427b8aae61 100644 --- a/.github/common-actions/install/action.yml +++ b/.github/common-actions/install/action.yml @@ -5,9 +5,9 @@ runs: using: composite steps: - name: Install dependencies - uses: pnpm/action-setup@v3 + uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f7415ada0..797ee53094 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -182,7 +182,7 @@ pnpm test:update src/button # or npm run test:update src/button pnpm build # or npm run build ``` -> Note: ensure your version of Node is 16 or higher to run scripts +> Note: ensure that you have at least Node.js 20.x as well as pnpm 9.1.0 or higher installed on your machine to run the scripts 6. Send your pull request: diff --git a/package.json b/package.json index 7b7dd98e61..6bb4eca691 100644 --- a/package.json +++ b/package.json @@ -144,8 +144,8 @@ } }, "engines": { - "node": ">=16.x", - "pnpm": ">=8.x" + "node": ">=20.x", + "pnpm": ">=9.x" }, - "packageManager": "pnpm@8.7.0" + "packageManager": "pnpm@9.1.0" } From 426247650680c779a067e6b06f06239da54fd96c Mon Sep 17 00:00:00 2001 From: Robin Schmidt Date: Sat, 11 May 2024 01:41:06 +0200 Subject: [PATCH 3/6] fix(ci): specify exact version in gh-action --- .github/common-actions/install/action.yml | 2 +- .nvmrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/common-actions/install/action.yml b/.github/common-actions/install/action.yml index 427b8aae61..5f325aa821 100644 --- a/.github/common-actions/install/action.yml +++ b/.github/common-actions/install/action.yml @@ -7,7 +7,7 @@ runs: - name: Install dependencies uses: pnpm/action-setup@v4 with: - version: 9 + version: 9.1.0 - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/.nvmrc b/.nvmrc index b4749b4552..922f10a165 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.x +20.x From f3d306cb64602036441359b8cc0553420d8bde77 Mon Sep 17 00:00:00 2001 From: WK Wong Date: Sun, 8 Sep 2024 17:26:11 +0800 Subject: [PATCH 4/6] chore(changeset): remove changeset --- .changeset/long-boxes-joke.md | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .changeset/long-boxes-joke.md diff --git a/.changeset/long-boxes-joke.md b/.changeset/long-boxes-joke.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/long-boxes-joke.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- From 5ac7b29aaaacc151e85988b40962b8151496939e Mon Sep 17 00:00:00 2001 From: WK Wong Date: Sun, 8 Sep 2024 17:26:51 +0800 Subject: [PATCH 5/6] chore(root): update pnpm version --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 58aea06899..349180bc48 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -196,7 +196,7 @@ pnpm build npm run build ``` -> Note: ensure that you have at least Node.js 20.x as well as pnpm 9.1.0 or higher installed on your machine to run the scripts +> Note: ensure that you have at least Node.js 20.x as well as pnpm 9.6.0 or higher installed on your machine to run the scripts 6. Send your pull request: From 07f8de1cc14d1cef61a490cc754eca4ee41f4a17 Mon Sep 17 00:00:00 2001 From: WK Wong Date: Sun, 8 Sep 2024 17:30:51 +0800 Subject: [PATCH 6/6] chore(root): update node version --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 349180bc48..afbd43109f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -196,7 +196,7 @@ pnpm build npm run build ``` -> Note: ensure that you have at least Node.js 20.x as well as pnpm 9.6.0 or higher installed on your machine to run the scripts +> Note: ensure that you have at least Node.js 20.16.0 as well as pnpm 9.6.0 or higher installed on your machine to run the scripts 6. Send your pull request: