File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 36
36
# Multi line commands are folding for some reason, so we enforce new lines
37
37
# For more predictable usage, use script files
38
38
preview-cmd: |
39
- export NODE_OPTIONS=--tls-cipher-list="DEFAULT@SECLEVEL=1"
40
- make install;
41
- make deploy;
42
- make frontend;
39
+ npm i -g yarn;
40
+ export NODE_OPTIONS=--tls-cipher-list="DEFAULT@SECLEVEL=1";
41
+ yarn install;
42
+ yarn build:backend;
43
+ yarn cdklocal bootstrap;
44
+ yarn cdklocal deploy;
45
+ yarn prepare:frontend-local;
46
+ yarn build:frontend;
47
+ yarn cdklocal bootstrap --app="node dist/aws-sdk-js-notes-app-frontend.js";
48
+ yarn cdklocal deploy --app="node dist/aws-sdk-js-notes-app-frontend.js";
43
49
distributionId=$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id');
44
50
echo LS_PREVIEW_URL=$AWS_ENDPOINT_URL/cloudfront/$distributionId/ >> $GITHUB_ENV;
You can’t perform that action at this time.
0 commit comments