Skip to content

🧩 Component Analysis #893

🧩 Component Analysis

🧩 Component Analysis #893

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: Configure Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable
- name: Analyze
run: npx omlet analyze
env:
OMLET_TOKEN: ${{ secrets.OMLET_TOKEN }}