From a6fbcc714dcb0c56c031c68d14689deca70874dc Mon Sep 17 00:00:00 2001 From: pompydev Date: Mon, 2 Jun 2025 15:28:21 +0900 Subject: [PATCH] ci: fix failing tests --- .forgejo/workflows/test.yml | 6 +++--- .npmrc | 1 + package.json | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 062033e..f0b9388 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -11,13 +11,13 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - run: apt-get update && apt-get install sudo + - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 22.14.0 cache: pnpm - - uses: actions/checkout@v4 - uses: rharkor/caching-for-turbo@v1.8 + - uses: actions/checkout@v4 - run: pnpx playwright install --with-deps - run: pnpm install - run: pnpm lint diff --git a/.npmrc b/.npmrc index c9d6b46..0ff6ad2 100644 --- a/.npmrc +++ b/.npmrc @@ -2,3 +2,4 @@ auto-install-peers = true node-linker=hoisted prefer-symlinked-executables=false enable-pre-post-scripts=true +engine-strict=true diff --git a/package.json b/package.json index 9cb6ea0..e5ffde5 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,9 @@ "@pompydev/eslint-config": "workspace:*", "turbo": "2.4.4" }, + "engines": { + "pnpm": ">=10.11.0", + "node": ">=22.14.0" + }, "packageManager": "pnpm@10.11.0" }