File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
.vuestorefrontcloud/docker Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 55 - main
66 - develop
77 - release/*
8+ - build/dependencies
89
910jobs :
1011 build :
8687 exit 1
8788 fi
8889 - name : Deploy on demo-magento2-canary.europe-west1.gcp.storefrontcloud.io
89- if : startsWith(github.ref, 'refs/heads/release ')
90+ if : startsWith(github.ref, 'refs/heads/build/dependencies ')
9091 run : |
9192 if curl -s -H 'X-User-Id: ${{ secrets.CLOUD_USERNAME }}' -H 'X-Api-Key: ${{ secrets.CLOUD_PASSWORD }}' -H 'Content-Type: application/json' -X POST -d '{
9293 "code":"demo-magento2-canary",
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ RUN mv /var/www/packages/theme/nuxt.config.js /var/www/packages/theme/base.nuxt.
6969
7070RUN yarn install
7171
72- RUN npx yarn@1.19.0 workspace @vue-storefront/magento-theme add @sentry/tracing @nuxtjs/sentry @vsf-enterprise/redis-cache
72+ RUN yarn install && yarn build:api-client && yarn build:composables && yarn cache clean --all
7373
74- RUN yarn build && yarn cache clean --all
74+ RUN rm -rf /var/www/node_modules && yarn install --prod && npx yarn@1.19.0 workspace @vue-storefront/magento-theme add @sentry/tracing @nuxtjs/sentry @vsf-enterprise/redis-cache && yarn buiLd:theme
7575
7676COPY .vuestorefrontcloud/docker/vue-storefront.sh /usr/local/bin/
7777
Original file line number Diff line number Diff line change 2727 "@apollo/client" : " ^3.5.8" ,
2828 "graphql" : " ^16.3.0" ,
2929 "graphql-tag" : " ^2.12.6" ,
30- "isomorphic-fetch" : " ^3.0.0"
30+ "isomorphic-fetch" : " ^3.0.0" ,
31+ "dotenv" : " ^15.0.0"
3132 },
3233 "devDependencies" : {
3334 "@rollup/plugin-commonjs" : " ^21.0.1" ,
3435 "@rollup/plugin-graphql" : " ^1.1.0" ,
3536 "@rollup/plugin-json" : " ^4.1.0" ,
3637 "@types/isomorphic-fetch" : " ^0.0.35" ,
3738 "cross-fetch" : " ^3.1.5" ,
38- "dotenv" : " ^15.0.0" ,
3939 "graphql-tools" : " ^8.2.0" ,
4040 "jest-transform-graphql" : " ^2.1.0" ,
4141 "msw" : " ^0.36.8" ,
You can’t perform that action at this time.
0 commit comments