Simplify pnpm CI and centralize settings

Co-authored-by: Steven <styfle@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-21 22:11:41 +00:00
parent 895433665a
commit c3c8c1984f
6 changed files with 0 additions and 38 deletions

View File

@@ -16,17 +16,6 @@ jobs:
node-version: '20'
- name: Enable pnpm
run: corepack enable pnpm && corepack install
- name: Get pnpm store directory
id: pnpm-store
shell: bash
run: echo "STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
- name: Cache pnpm store
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-store.outputs.STORE_PATH }}
key: pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
pnpm-store-${{ runner.os }}-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests

View File

@@ -12,10 +12,5 @@
},
"engines": {
"node": ">=18"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp"
]
}
}

View File

@@ -27,11 +27,5 @@
"@types/node": "22.10.7",
"@types/react": "19.0.7",
"@types/react-dom": "19.0.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"bcrypt",
"sharp"
]
}
}

View File

@@ -27,11 +27,5 @@
"@types/node": "22.10.7",
"@types/react": "19.0.7",
"@types/react-dom": "19.0.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"bcrypt",
"sharp"
]
}
}

View File

@@ -16,10 +16,5 @@
},
"engines": {
"node": ">=18"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp"
]
}
}

View File

@@ -16,10 +16,5 @@
},
"engines": {
"node": ">=18"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp"
]
}
}