feat: Remove for developers button from landing page (#3656) #20859
Workflow file for this run
This file contains hidden or 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: Frontend checks and lints | |
| on: | |
| push: | |
| jobs: | |
| frontend-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # set a PAT so that add-and-commit can trigger CI runs | |
| token: ${{ secrets.GIX_BOT_PAT }} | |
| - uses: ./.github/actions/setup-node | |
| - run: npm ci | |
| - name: Run tsc | |
| run: npm run check | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Check formatting | |
| run: npm run format-check | |
| - uses: ./.github/actions/setup-didc | |
| - name: Generate type interfaces | |
| run: | | |
| npm run generate | |
| cd demos/vc_issuer | |
| npm run generate | |
| - name: Check for dapp logos | |
| run: | | |
| while read -r logo | |
| do | |
| if [ ! -f src/frontend/src/assets/icons/"$logo" ] | |
| then | |
| echo "Logo not found: $logo" | |
| exit 1 | |
| fi | |
| done < <(jq <src/frontend/src/flows/dappsExplorer/dapps.json -cMr '.[] | .logo' ) | |
| - name: Commit type interfaces | |
| uses: EndBug/add-and-commit@v9 | |
| # We don't want to commit automatic changes to main | |
| if: ${{ github.ref != 'refs/heads/main' }} | |
| with: | |
| add: | | |
| src/frontend/generated | |
| demos/vc_issuer/app/generated | |
| default_author: github_actions | |
| message: "🤖 npm run generate auto-update" |