From 671ef1dd7efbe023bce079b8d7e8d953f9e78e5b Mon Sep 17 00:00:00 2001 From: Anton Nikitiuk Date: Fri, 21 Aug 2026 19:31:09 +0300 Subject: [PATCH] bump node-version to 22 in workflows, add Node 22 to CI matrix, Update nock to v13 --- .github/workflows/node-ci.yml | 2 +- .github/workflows/npm-publish.yml | 5 +++-- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 8eafe20..4f7e4e7 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [8, 10, 12, 14, 15] + node-version: [8, 10, 12, 14, 15, 22] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 28b8406..5498806 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: 12 + node-version: 22 - run: npm install - run: npm run test @@ -27,6 +27,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: 12 + node-version: 22 registry-url: https://registry.npmjs.org/ + - run: npm install -g npm@latest - run: npm publish diff --git a/package.json b/package.json index 139e409..a15fdff 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "eslint-plugin-promise": "^3.7.0", "eslint-plugin-standard": "^3.0.1", "mocha": "^5.2.0", - "nock": "^9.6.1", + "nock": "^13.5.6", "sinon": "^7.2.7", "chai": "~4.1.2" },