From 04027cf09516d73cd516a9c28d1b784a5d494617 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah <36107+shazron@users.noreply.github.com> Date: Thu, 23 Nov 2023 11:58:45 +0800 Subject: [PATCH] fix(breaking-change): update for nodes 18 and 20 (#131) --- .github/workflows/daily.yml | 2 +- .github/workflows/node.js.yml | 4 ++-- .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, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index b1f5310..079687a 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 de67e3c..6864425 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,7 +14,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: @@ -33,4 +33,4 @@ jobs: if: success() uses: codecov/codecov-action@v3.1.1 with: - name: ${{ runner.os }} node.js ${{ matrix.node-version }} \ No newline at end of file + name: ${{ runner.os }} node.js ${{ matrix.node-version }} diff --git a/.github/workflows/on-push-publish-to-npm.yml b/.github/workflows/on-push-publish-to-npm.yml index e550211..e3ead74 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: 16 + 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 42b53af..b1b023e 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 b7afc73..22420bf 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: 16 + node-version: 18 - run: | npm install npm test diff --git a/package.json b/package.json index 3545450..b70e828 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "author": "Adobe Inc.", "license": "Apache-2.0", "engines": { - "node": "^14.16 || ^16.13 || >=18" + "node": ">=18" }, "repository": "adobe/aio-lib-state", "keywords": [