From 531d1c2e17e33ecf5333fdacaf44d0e46ef11b11 Mon Sep 17 00:00:00 2001 From: chimurai <655241+chimurai@users.noreply.github.com> Date: Sat, 11 May 2024 11:22:25 +0000 Subject: [PATCH] ci(github-actions): node 22 --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/publish.yml | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37aa773..d5f83d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) @@ -39,7 +39,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: @@ -77,10 +77,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c6d7224..17a7b33 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' - name: Install Dependencies diff --git a/package.json b/package.json index 4557be1..763fff2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "checker" ], "engines": { - "node": "^18.0.0 || >= 20.0.0" + "node": "^18.0.0 || ^20.0.0 || >= 22.0.0" }, "type": "module", "exports": "./dist/index.js",