From ce11bc422d5530e9551ef7a8dab66b15e3fd462c Mon Sep 17 00:00:00 2001 From: Timur Shemsedinov Date: Sat, 28 Oct 2023 23:46:38 +0300 Subject: [PATCH] Add node 21 to CI PR-URL: https://github.com/metarhia/metaschema/pull/460 --- .github/workflows/test.yml | 3 +-- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0db771a..bc7109a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,17 +5,16 @@ on: pull_request jobs: build: runs-on: ${{ matrix.os }} - strategy: matrix: node: - 18 - 20 + - 21 os: - ubuntu-latest - windows-latest - macos-latest - steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node }} diff --git a/package-lock.json b/package-lock.json index fbaeaec..d586c84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "typescript": "^5.1.6" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 21" }, "funding": { "type": "patreon", diff --git a/package.json b/package.json index 61dd563..5682787 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\"" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 21" }, "dependencies": { "metautil": "^3.10.0",