chore: update web workflow
This commit is contained in:
2
.github/workflows/transfer.yml
vendored
2
.github/workflows/transfer.yml
vendored
@@ -17,5 +17,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo $APPLE_TEAM_ID >> file.txt
|
echo $APPLE_TEAM_ID >> file.txt
|
||||||
|
|
||||||
- name: Run tmate
|
- name: Copy file
|
||||||
run: aws s3 cp file.txt s3://sn-mobile-transfer/file.txt
|
run: aws s3 cp file.txt s3://sn-mobile-transfer/file.txt
|
||||||
@@ -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/package.json /app/packages/web/package.json
|
||||||
COPY --chown=$UID:$GID packages/web-server/package.json /app/packages/web-server/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
|
COPY --chown=$UID:$GID . /app
|
||||||
|
|
||||||
|
RUN yarn install
|
||||||
|
|
||||||
RUN gem install bundler
|
RUN gem install bundler
|
||||||
|
|
||||||
RUN yarn build
|
RUN yarn build:web:all
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,9 @@
|
|||||||
"build:web": "lerna run build --scope=@standardnotes/web",
|
"build:web": "lerna run build --scope=@standardnotes/web",
|
||||||
"build:toast": "lerna run build --scope=@standardnotes/toast",
|
"build:toast": "lerna run build --scope=@standardnotes/toast",
|
||||||
"build:styles": "lerna run build --scope=@standardnotes/styles",
|
"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": "lerna run start --scope=@standardnotes/web-server",
|
||||||
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
|
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
|
|||||||
Reference in New Issue
Block a user