fixed prettier line errors #6843
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: CI | |
on: [push] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
name: Use Node.js 16.12.0 | |
with: | |
node-version: 16.12.0 | |
cache: 'yarn' | |
- name: 📀 Get yarn cache | |
id: yarn-cache | |
run: echo "yarn_cache_dir=$(yarn cache dir)" >> "$GITHUB_ENV" | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ env.yarn_cache_dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: 📦 Install dependencies | |
run: yarn --frozen-lockfile | |
- name: 🔨 Build | |
run: yarn build | |
- name: 💅 Lint | |
run: yarn lint | |
- name: 👩🏻🔬 Run tests | |
run: yarn test | |
env: | |
CI: true |