Skip to content

Fix issue where order status and data are not updated when an order is in the processing state and being captured. #40444

Fix issue where order status and data are not updated when an order is in the processing state and being captured.

Fix issue where order status and data are not updated when an order is in the processing state and being captured. #40444

Workflow file for this run

name: JS linting and tests
on:
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: JS linting
runs-on: ubuntu-latest
steps:
# clone the repository
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# enable dependencies caching
- uses: actions/cache@v4
with:
path: ~/.cache/composer/
key: ${{ runner.os }}-composer-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }}
- uses: actions/cache@v4
with:
path: ~/.npm/
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
# install dependencies and run linter
- run: npm ci && npm run lint:js && npm run lint:css
test:
name: JS testing
runs-on: ubuntu-latest
steps:
# clone the repository
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# enable dependencies caching
- uses: actions/cache@v4
with:
path: ~/.cache/composer/
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
- uses: actions/cache@v4
with:
path: ~/.npm/
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
# install dependencies and run linter
- run: npm ci && npm run test:js