From a4250b791b34eccfa782a8e8309ff200630fbffe Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 30 May 2023 23:47:25 -0700 Subject: [PATCH 1/4] remove node-19 test job --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a05d663..feae2d02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: # node-14's npm must be updated, but no longer updatable due to: # https://github.com/npm/cli/issues/2663 # because of this, node-14 test strategy is removed :( - node-version: [16.x, 18.x, 19.x, 20.x] + node-version: [16.x, 18.x, 20.x] os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v3 From 7987cf09a218d345c6072e9f83366c98d91e3446 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 30 May 2023 23:48:33 -0700 Subject: [PATCH 2/4] update CHANGELOG --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36ef60ce..5657d547 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # changelog - * 2.3.0 _May.30.2023_ + * 2.3.0 _May.31.2023_ * [add initial support](https://github.com/iambumblehead/esmock/pull/205) for the solution to "globalThis" mocks, * support injecting definitions into the mock import tree, * demonstrate mock setTimeout, fetch and Date scenarious at unit-tests + * [remove node 19](https://github.com/iambumblehead/esmock/pull/206) test job * 2.2.3 _May.16.2023_ * [add node v21 nightly](https://github.com/iambumblehead/esmock/pull/199) to test ci pipeline * send wide uri definitions to loader using loader worker From c29e5ab65a03f5728029921a517d82c7ce178138 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 30 May 2023 23:51:20 -0700 Subject: [PATCH 3/4] update workflows to use node 20 --- .github/workflows/coverage.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/npm-publish.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 57f34daf..88c28765 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 12 strategy: matrix: - node-version: [18.x] + node-version: [20.x] os: [ubuntu-latest] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 24f5b0b7..c568d104 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,6 +16,6 @@ jobs: - name: lint uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '20.x' - run: npm install - run: npm run lint diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c39bbd8a..d8fb5d80 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - run: npm install - run: npm run build --if-present - run: npm run test-ci @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 20 registry-url: https://npm.pkg.github.com/ - name: Insert repository owner as scope into package name run: | From 005d0457c8827a41a52320fe7b289e80ddf0ef1e Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 30 May 2023 23:51:50 -0700 Subject: [PATCH 4/4] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5657d547..5648c334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * [add initial support](https://github.com/iambumblehead/esmock/pull/205) for the solution to "globalThis" mocks, * support injecting definitions into the mock import tree, * demonstrate mock setTimeout, fetch and Date scenarious at unit-tests - * [remove node 19](https://github.com/iambumblehead/esmock/pull/206) test job + * [remove node 19](https://github.com/iambumblehead/esmock/pull/206) test job, update remaining jobs to use node 20 * 2.2.3 _May.16.2023_ * [add node v21 nightly](https://github.com/iambumblehead/esmock/pull/199) to test ci pipeline * send wide uri definitions to loader using loader worker