Skip to content

Improve block editor support #347

Improve block editor support

Improve block editor support #347

Workflow file for this run

name: Jest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18'
check-latest: true
- name: Cache node_module
id: node-modules-cache
uses: actions/cache@v2
with:
path: admin/node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('admin/package-lock.json') }}
- name: Install node dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: cd admin && npm install
- name: Run Jest
run: cd admin && npm run test