From ebc180830a01f7c4bf577998338271d042e4e262 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah <36107+shazron@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:04:00 +0800 Subject: [PATCH] fix(breaking-change): update for nodes 18 and 20 (#63) --- .github/workflows/daily.yml | 2 +- .github/workflows/node.js.yml | 2 +- .github/workflows/on-push-publish-to-npm.yml | 2 +- .github/workflows/prerelease.yml | 2 +- .github/workflows/version-bump-publish.yml | 2 +- package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index b40e815..8b60ab9 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [14] + node-version: [18] os: [ubuntu-latest] steps: diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 38e3739..e8dbe63 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [14.x, 16.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest] steps: diff --git a/.github/workflows/on-push-publish-to-npm.yml b/.github/workflows/on-push-publish-to-npm.yml index ac5b141..42d19fc 100644 --- a/.github/workflows/on-push-publish-to-npm.yml +++ b/.github/workflows/on-push-publish-to-npm.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - run: npm install - run: npm test - uses: JS-DevTools/npm-publish@v1 diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index ccb8e2d..f8d5ce7 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -26,7 +26,7 @@ jobs: git config user.email github-actions@github.com - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - run: | npm install npm test diff --git a/.github/workflows/version-bump-publish.yml b/.github/workflows/version-bump-publish.yml index 7c6f12b..1c8c0bf 100644 --- a/.github/workflows/version-bump-publish.yml +++ b/.github/workflows/version-bump-publish.yml @@ -21,7 +21,7 @@ jobs: git config user.email github-actions@github.com - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - run: | npm install npm test diff --git a/package.json b/package.json index 17ef2e7..c06e7d5 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,6 @@ "typescript": "^5.1.6" }, "engines": { - "node": "^14.18 || ^16.13 || >=18" + "node": ">=18" } }