chore: revert only-allow & pnpm removal

This commit is contained in:
Ayo Ayco 2025-01-14 20:32:56 +01:00
parent 0c5e8435e6
commit b5b08dbe55
2 changed files with 7 additions and 5 deletions

View file

@ -2,6 +2,7 @@ image: alpine/edge
packages:
- nodejs
- npm
- pnpm
secrets:
- 291f0e35-9b8d-43ff-844c-77c5f29c1876
environment:
@ -9,16 +10,16 @@ environment:
tasks:
- install-deps: |
cd mcfly
npm i
pnpm i
- build: |
cd mcfly/site
npm run build
cd mcfly
pnpm -F site run build
- deploy: |
cd mcfly/site
cd mcfly
{
set +x
. ~/.buildsecrets
set -x
}
export NETLIFY_AUTH_TOKEN
npm site run deploy
pnpm -F site run deploy

View file

@ -3,6 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "pnpm --filter site start",
"site": "pnpm --filter site start",
"build": "pnpm --filter site build",