Skip to content

Frontend

Frontend #3639

Workflow file for this run

# DO NOT EDIT THIS FILE!
#
# It's auto-generated by sonata-project/dev-kit package.
name: Frontend
on:
schedule:
- cron: '30 0 * * *'
push:
branches:
- 4.x
- 5.x
pull_request:
permissions:
contents: read
jobs:
webpack-encore:
name: Webpack Encore
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install NPM dependencies
uses: bahmutov/npm-install@v1
- name: Run Eslint
run: npx eslint assets/js
- name: Run Stylelint
run: npx stylelint assets/scss
- name: Run Prettier
run: npx prettier --check assets
- name: Run Webpack Encore
run: npx encore production
- name: Check if the compilation is up to date
run: git diff --no-patch --exit-code