Skip to content

Merge pull request #305 from movabletype/fix-tox-pop-size #1

Merge pull request #305 from movabletype/fix-tox-pop-size

Merge pull request #305 from movabletype/fix-tox-pop-size #1

Workflow file for this run

name: Test
on:
push:
branches:
- "**/*"
tags:
- "v*"
- "*@v*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Install dependencies in sub-projects/mt-block-editor-block
run: npm ci --prefix sub-projects/mt-block-editor-block
- name: Lint
run: npm run lint
- name: Type check
run: npm run check-types
- name: Unit tests
run: npm test
- name: Cypress run
uses: cypress-io/github-action@b8ba51a856ba5f4c15cf39007636d4ab04f23e3c # v6.10.2
with:
install: false
build: npm run cypress:build
config-file: cypress/configs/ci.ts
- name: Upload Cypress artifacts on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: cypress-artifacts
path: |
cypress/videos
cypress/screenshots