🧩 Component Analysis #689
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: Configure Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useRollingCache: true | |
- name: Analyze | |
run: npx omlet analyze | |
env: | |
OMLET_TOKEN: ${{ secrets.OMLET_TOKEN }} |