Skip to content

Fix sync queue and dirty-day handling #115

Fix sync queue and dirty-day handling

Fix sync queue and dirty-day handling #115

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize]
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
ci:
name: ✅ Lint, Format & Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 🏗️ Checkout
uses: actions/checkout@v4
- name: 📦 Setup Node
uses: actions/setup-node@v4
with:
node-version: 24.x
- name: 📂 Get yarn cache directory
id: yarn-cache
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: 💾 Cache yarn downloads
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-cache-
- name: 💾 Cache node_modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: 📥 Install dependencies
run: yarn install --immutable
- name: 🎨 Check formatting
run: yarn format:check
- name: 🔍 Lint
run: yarn lint
- name: 🧪 Test
run: yarn test
- name: 🌐 Check Translations
run: yarn check:translations