Update delivery time for 1.3.x #3084
Workflow file for this run
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: QA | |
on: | |
push: | |
branches: | |
- master | |
- '[1-9].[0-9]+.x' | |
- 'feature-[a-z]+' | |
pull_request: ~ | |
jobs: | |
qa: | |
name: Code-Quality-Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout Gally admin | |
uses: actions/checkout@v3 | |
with: | |
repository: 'Elastic-Suite/gally-admin' | |
ref: 1.3.x | |
path: front/gally-admin | |
- name: Cache Composer dependencies | |
uses: actions/cache@v2 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- uses: php-actions/composer@v6 | |
with: | |
php_version: "8.1" | |
args: --working-dir api | |
# PHP-CS-Fixer cannot run locally since src/Gally has been moved elsewhere | |
#- name: PHP-CS-Fixer | |
# working-directory: api | |
# run: ./vendor/bin/php-cs-fixer fix --path-mode=intersection --diff --dry-run src/Gally | |
# PHPStan cannot run locally since src/Gally has been moved elsewhere | |
#- name: PHPStan | |
# working-directory: api | |
# run: ./vendor/bin/phpstan analyse src/Gally | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Cache Yarn dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Yarn Install dependencies | |
working-directory: front | |
run: yarn --frozen-lockfile | |
- name: Yarn build | |
working-directory: front/gally-admin | |
run: yarn build | |
- name: Typescript | |
working-directory: front | |
run: yarn typescript:ci | |
- name: EsLint | |
working-directory: front | |
run: yarn eslint:ci | |
- name: Prettier | |
working-directory: front | |
run: yarn prettier:ci |