chore(deps): bump @babel/traverse from 7.19.3 to 7.23.2 #35
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: main | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action for PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.1' | |
tools: pecl | |
extensions: ast, ds, mbstring, curl, json, intl, gd, xml, zip, bz2, opcache, sockets | |
- name: GitHub Action for Yarn | |
uses: Borales/actions-yarn@v3 | |
- name: Show environment information | |
run: | | |
php -v | |
php -m | |
yarn -v | |
- name: Get cache directory - Composer | |
id: composer-cache | |
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- name: Cache dependencies - Composer | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Get cache directory - Yarn | |
id: yarn-cache | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Cache dependencies - Yarn | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: | | |
rm -f composer.lock && composer install | |
sudo yarn install | |
- run: composer run-script lint | |
- run: yarn run prettier-check | |
- run: yarn run lint |