Skip to content

Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process. #5291

Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process.

Solve an issue where the user would be presented with the Session expired dialog when the user would be logging in during the checkout process. #5291

Workflow file for this run

name: bundlesize
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
bundlesize:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
with:
path: new
- uses: actions/checkout@v4
with:
path: old
ref: ${{ github.base_ref }}
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@graphcommerce'
cache-dependency-path: ./old/yarn.lock
- run: cd new && yarn install && cd ..
- run: cd new/examples/magento-graphcms && yarn build > ../../../new.txt && cd ../../..
- run: cat new.txt
- run: cd old && yarn install && cd ..
- run: cd old/examples/magento-graphcms && yarn build > ../../../old.txt && cd ../../..
- run: cat old.txt
- uses: ho-nl/next-bundlesize-action@master
id: 'bundlesize'
- uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: steps.bundlesize.outputs.diff != ''
with:
msg: ${{steps.bundlesize.outputs.diff}}
check_for_duplicate_msg: false