🧩 Component Analysis #903
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: 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 }} |