Skip to content

Model check

Model check #323

Workflow file for this run

name: Model check
on:
pull_request:
merge_group:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ESLint check
uses: ./.github/actions/lint
with:
package-name: '@editorjs/model'
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run unit tests
uses: ./.github/actions/unit-tests
with:
package-name: '@editorjs/model'
working-directory: './packages/model'
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the package
uses: ./.github/actions/build
with:
package-name: '@editorjs/model'
mutation-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run mutation tests for changed files
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/actions/mutation-tests-changed-files
with:
package-name: '@editorjs/model'
working-directory: './packages/model'
stryker_dashboard_api_key: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
- name: Run mutation tests for all files
if: ${{ github.event_name == 'merge_group' }}
uses: ./.github/actions/mutation-tests-all-files
with:
package-name: '@editorjs/model'
working-directory: './packages/model'
stryker_dashboard_api_key: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}