Skip to content

🧩 Component Analysis #903

🧩 Component Analysis

🧩 Component Analysis #903

name: Component Analysis
on:
schedule:
- cron: '0 6 * * *' # every day at 6:00
jobs:
omlet_analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Omlet.dev uses Git History for analysis; Disable shallow clone
fetch-depth: 0
- name: Enable Corepack
run: corepack enable
- name: Configure Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable --inline-builds
- name: Analyze
run: npx omlet analyze
env:
OMLET_TOKEN: ${{ secrets.OMLET_TOKEN }}