versionsplit(max-version-nc-27) #234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static analysis | |
on: [push, pull_request] | |
jobs: | |
code-style: | |
runs-on: ubuntu-latest | |
name: Code style | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Set up php | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: 7.4 | |
coverage: none | |
- name: Install dependencies | |
run: composer i | |
- name: Run code style check | |
run: composer run cs:check | |
frontend-build: | |
runs-on: ubuntu-latest | |
name: Frontend build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build bundle | |
run: yarn build |