diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 132f0a4d..e1f9d450 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20' + node-version-file: 'package.json' cache: 'yarn' - name: yarn install @@ -104,7 +104,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20' + node-version-file: 'matrix-meetings-bot/package.json' cache: 'yarn' - name: yarn install @@ -200,7 +200,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20' + node-version-file: 'package.json' cache: 'yarn' - name: yarn install @@ -237,7 +237,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20' + node-version-file: 'package.json' cache: 'yarn' - name: yarn install diff --git a/package.json b/package.json index 9daad149..fdf7c15e 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,10 @@ "prettier-plugin-organize-imports": "^4.1.0", "yarn-deduplicate": "^6.0.2" }, + "engines": { + "node": ">=20", + "yarn": ">=1.22.1 <2.0.0" + }, "scripts": { "start": "yarn workspace @nordeck/matrix-meetings-widget start", "dev": "yarn workspace @nordeck/matrix-meetings-widget dev",