Epic/pelagos 5113 add standardized keywords #1410
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: ESLint for Javascript | |
on: | |
push: | |
branches: [ develop, main ] | |
pull_request: | |
branches: [ develop, main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP with PECL extension | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
- name: Install dependencies | |
run: composer install --no-progress | |
- name: Install node modules | |
run: yarn install --silent | |
- name: Run ESLint | |
run: yarn run lint --quiet | |
- name: Webpack Build | |
run: yarn run build |