Merge pull request #82 from Blindman139/master #57
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: Code quality | |
on: | |
- push | |
- pull_request | |
jobs: | |
test_and_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
id: node_modules_cache | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
if: steps.node_modules_cache.outputs.cache-hit != 'true' | |
- run: yarn ci |