Skip to content

Fix early renewal order checkouts by checking the cart order is an WC order object #1784

Fix early renewal order checkouts by checking the cart order is an WC order object

Fix early renewal order checkouts by checking the cart order is an WC order object #1784

Workflow file for this run

name: JS linting and tests
on:
pull_request
jobs:
lint:
name: JS linting
runs-on: ubuntu-latest
steps:
# clone the repository
- uses: actions/checkout@v2
# enable dependencies caching
- uses: actions/cache@v3
with:
path: ~/.cache/composer/
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
- uses: actions/cache@v3
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