chore: update web workflow

This commit is contained in:
Mo 2022-06-09 10:19:07 -05:00
parent ed5285eecb
commit 4b241300ea
No known key found for this signature in database
GPG key ID: 034B13B1644297E1
3 changed files with 7 additions and 5 deletions

View file

@ -17,5 +17,5 @@ jobs:
run: |
echo $APPLE_TEAM_ID >> file.txt
- name: Run tmate
- name: Copy file
run: aws s3 cp file.txt s3://sn-mobile-transfer/file.txt

View file

@ -25,13 +25,13 @@ COPY --chown=$UID:$GID package.json yarn.lock /app/
COPY --chown=$UID:$GID packages/web/package.json /app/packages/web/package.json
COPY --chown=$UID:$GID packages/web-server/package.json /app/packages/web-server/package.json
RUN yarn install
COPY --chown=$UID:$GID . /app
RUN yarn install
RUN gem install bundler
RUN yarn build
RUN yarn build:web:all
EXPOSE 3000

View file

@ -19,7 +19,9 @@
"build:web": "lerna run build --scope=@standardnotes/web",
"build:toast": "lerna run build --scope=@standardnotes/toast",
"build:styles": "lerna run build --scope=@standardnotes/styles",
"build:web:all": "yarn build:toast && yarn build:styles && yarn build:web",
"build:web:front": "yarn build:toast && yarn build:styles && yarn build:web",
"build:web:back": "lerna run build --scope=@standardnotes/web-server",
"build:web:all": "yarn build:web:front && build:web:back",
"start:server:web": "lerna run start --scope=@standardnotes/web-server",
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
"prepare": "husky install",