Skip to content

wip

wip #7803

Workflow file for this run

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