Merge remote-tracking branch 'upstream/master' #133
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: Frontend | |
on: | |
push: | |
branches: | |
- 'master' | |
- '[0-9].[0-9]+' | |
pull_request: ~ | |
jobs: | |
frontend: | |
name: ${{ matrix.script }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
script: ['prod'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
coverage: none | |
# Install Flex as a global dependency to enable usage of extra.symfony.require | |
# while keeping Flex recipes from applying | |
- run: composer global config --no-plugins allow-plugins.symfony/flex true | |
- run: composer global require --no-scripts symfony/flex | |
- run: composer config extra.symfony.require ~5.4.0 | |
- run: composer update --prefer-dist | |
- run: yarn install | |
- run: yarn run ${{ matrix.script }} |