Skip to content

fix: compatibility issue TranslatePress plugin #7323

fix: compatibility issue TranslatePress plugin

fix: compatibility issue TranslatePress plugin #7323

Workflow file for this run

name: NPM Tests
on:
push:
branches-ignore:
- 'master'
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
npm:
runs-on: ubuntu-latest
env:
CYPRESS_INSTALL_BINARY: 0
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
env:
CYPRESS_INSTALL_BINARY: 0
run: yarn install --frozen-lockfile
- name: Install Cypress Dependencies
working-directory: ./e2e-tests
run: yarn install --frozen-lockfile
- name: Build source
run: yarn run build
- name: Run package check
run: yarn run lint:package-json
- name: Run dashboard check
run: yarn run lint:dash
- name: Run customizer check
run: yarn run lint:customizer
- name: Run Stylelint on SCSS
run: yarn run lint:scss
- name: Run global JS check
run: yarn run lint:global
- name: Run size check
# WORKAROUND FOR SIZE-LIMIT JOB NUMBER
env:
CI_JOB_NUMBER: 1
run: yarn run size