diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 254311c..028770b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - node: ['16', '18'] + node: ['18', '20'] steps: - uses: actions/checkout@v3 diff --git a/package-lock.json b/package-lock.json index ba1d19f..b0bf3a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,9 @@ "react": "^18.2.0", "release-it": "^16.2.1" }, + "engines": { + "node": ">=18" + }, "peerDependencies": { "gatsby": "^4.0.0 || ^5.0.0", "react": ">=17.0.0", diff --git a/package.json b/package.json index f71f442..1ad755e 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,8 @@ "repository": "github:kremalicious/gatsby-plugin-matomo", "bugs": { "url": "https://github.com/kremalicious/gatsby-plugin-matomo/issues" + }, + "engines": { + "node": ">=18" } }