Release of new version 0.7.20 #94
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: | |
- "*" | |
- "*/*" | |
pull_request: | |
branches: | |
- "*" | |
- "*/*" | |
jobs: | |
job_linting: | |
name: Linting | |
strategy: | |
matrix: | |
os: ["ubuntu-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action for Yarn | |
uses: borales/actions-yarn@v3 | |
- name: Show environment information | |
run: | | |
yarn -v | |
- 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: ${{ matrix.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ matrix.os }}-yarn- | |
- name: Install dependencies | |
run: | | |
sudo yarn install | |
- run: yarn run prettier-check | |
- run: yarn run lint |