[BUGFIX] Fix #817: Ship compiled JS bundle in repository #304
Workflow file for this run
This file contains hidden or 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: codechecking | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the "main" branch | |
| push: | |
| branches-ignore: | |
| - main | |
| - master | |
| - develop | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| rectortest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup PHP" | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.3 | |
| coverage: none | |
| - name: "Install dependencies" | |
| run: composer install --prefer-dist --no-progress --no-interaction | |
| - name: "Run Rector (dry-run)" | |
| run: .Build/bin/rector process --dry-run | |
| php-cs-fixer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup PHP" | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.3 | |
| coverage: none | |
| - name: "Install dependencies" | |
| run: composer install --prefer-dist --no-progress --no-interaction | |
| - name: "Run PHP CS Fixer (dry-run)" | |
| run: .Build/bin/php-cs-fixer fix --config=.php-cs-fixer.php -v --dry-run --stop-on-violation --using-cache=no | |
| eslint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup Node" | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| - name: "Run npm ci" | |
| run: npm ci | |
| - name: "Run ESLint" | |
| run: npm run lint:js | |
| prettier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup Node" | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| - name: "Run npm ci" | |
| run: npm ci | |
| - name: "Run Prettier format check" | |
| run: npm run lint:format | |
| phpstan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup PHP" | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.3 | |
| coverage: none | |
| - name: "Install dependencies" | |
| run: composer install --prefer-dist --no-progress --no-interaction | |
| - name: "Run PHPStan" | |
| run: .Build/bin/phpstan analyse --no-progress | |
| sass-linter: | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| - name: "Setup Node" | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| - name: "Run npm ci" | |
| run: npm ci | |
| - name: "Run npm sass-linter" | |
| run: npm run lint:scss |