diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1d85910f..1a69724e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,23 +8,29 @@ name: "Tests" jobs: run-tests: - name: Run Tests + name: Run Tests Node ${{ matrix.node }} runs-on: ubuntu-latest + strategy: + matrix: + node: [ 18, 20 ] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: ${{ matrix.node }} - run: npm ci - run: npm run test:ci test-build: - name: Test Build + name: Test Build Node ${{ matrix.node }} runs-on: ubuntu-latest + strategy: + matrix: + node: [ 18, 20 ] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: ${{ matrix.node }} - run: npm ci - run: npm run build diff --git a/package-lock.json b/package-lock.json index d04d2ca7..d6927ad9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "typescript": "^4.9.5" }, "engines": { - "node": "18.x" + "node": ">=18.x" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 1ed46bef..5ab2d0e0 100644 --- a/package.json +++ b/package.json @@ -79,6 +79,6 @@ }, "snyk": true, "engines": { - "node": "18.x" + "node": ">=18.x" } }