From 6da00e467da2109c2a9fffe0287e8bb1022fe21e Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 17 Oct 2023 11:11:37 -0700 Subject: [PATCH] add node 21 to test pipeline --- .github/workflows/coverage.yml | 1 - .github/workflows/lint.yml | 4 +--- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 7 ++----- CHANGELOG.md | 2 ++ 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b71535b..a76bdc7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -16,7 +16,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - # - run: npm install -g npm@latest - run: npm install - run: npm run build --if-present - run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 26b3f23..57362e2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,14 +8,12 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: lint uses: actions/setup-node@v3 with: - node-version: '20.x' + node-version: 20 - run: npm install - run: npm run lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5ee1549..0df698a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: npm package +name: publish on: release: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a87ee9..4afae51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: tests +name: test on: push: @@ -13,10 +13,7 @@ jobs: strategy: fail-fast: false matrix: - # 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.16.x, 20.x] + node-version: [16.x, 18.16.x, 20.x, 21.x] os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 04f1aae..6ef181d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # changelog + * 2.5.7 _pendng_ + * [add node 21](https://github.com/iambumblehead/esmock/pull/257) to test pipeline * 2.5.6 _Oct.15.2023_ * [update resolver](https://github.com/iambumblehead/esmock/pull/256) to latest version, [resolves a resolution error](https://github.com/iambumblehead/resolvewithplus/releases/tag/v2.0.9) that seems to have been introduced by a previous update from the past week. * 2.5.5 _Oct.14.2023_