diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 33bb677..0a38429 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,14 +11,18 @@ on: jobs: setup: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14.x, 16.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - name: Checkout code uses: actions/checkout@v2 - - name: Setup node - uses: actions/setup-node@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 with: - node-version: 14 + node-version: ${{ matrix.node-version }} - name: Install dependencies run: yarn diff --git a/package.json b/package.json index 3f982fb..151913b 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ } }, "engines": { - "node": ">=14" + "node": ">=14 || <=16" }, "ci": { "version": "8, 9"