Skip to content

Instantly share code, notes, and snippets.

@felippewick
Last active November 26, 2024 21:54
Show Gist options
  • Save felippewick/313b2f94dc2b536fea11e55559f87315 to your computer and use it in GitHub Desktop.
Save felippewick/313b2f94dc2b536fea11e55559f87315 to your computer and use it in GitHub Desktop.
Deploying expo web on amplify with pnpm
version: 1.0
frontend:
phases:
preBuild:
commands:
- yarn global add expo-cli
- npm install --quiet --global pnpm
- pnpm install
build:
commands:
- APP_ENV=${APP_ENV}
- npx expo export -p web
artifacts:
baseDirectory: dist
files:
- '**/*'
cache:
paths:
- node_modules/**/*
- $(npm root --global)/**/*
- $(pnpm store path)/**/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment