Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Commit

Permalink
Switch frontend-gifts to yarn on Platform.sh (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kate authored Apr 2, 2018
1 parent 5d962c7 commit 0493bdf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend-gifts/.platform.app.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: frontend-gifts
type: nodejs:8.9

build:
flavor: none

dependencies:
nodejs:
pm2: "^2.4.4"
yarn: "*"
web:
commands:
# Run node server in pm2 process manager. Logs will be available in /app/run/logs.
Expand All @@ -23,7 +27,8 @@ web:

hooks:
build: |
npm run build:platform
yarn install
yarn run build:platform
deploy: |
# Copy built files into writable folder to write into index.html on per-environment basis.
# This should be refactored once server-side rendering is enabled.
Expand Down

0 comments on commit 0493bdf

Please sign in to comment.