Skip to content

Merge pull request #3792 from neos/task/centralize-error-handling #1811

Merge pull request #3792 from neos/task/centralize-error-handling

Merge pull request #3792 from neos/task/centralize-error-handling #1811

name: Build and test
on:
workflow_dispatch:
push:
branches: [ '[0-9]+.[0-9]' ]
pull_request:
branches: [ '[0-9]+.[0-9]' ]
jobs:
codestyle:
runs-on: ubuntu-latest
name: 'Code style'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install
run: make install-and-verify
- name: Lint
run: make lint
unittests:
runs-on: ubuntu-latest
name: 'Unit tests'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install
run: make install-and-verify
- name: Build
run: make build-production
- name: Test
run: make test