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

View file

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