Manage layout when avatars are wrapped in <avatar-fallback>
#458
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: Generate static files | |
| on: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| static: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ vars.PRIMER_APP_ID_SHARED }} | |
| private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }} | |
| owner: opf | |
| repositories: primer_view_components | |
| - uses: actions/checkout@v6 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.3' | |
| bundler-cache: true | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Build | |
| run: npm ci | |
| - name: Generate static files | |
| run: | | |
| bundle exec rake utilities:build | |
| bundle exec rake docs:build | |
| bundle exec rake static:dump | |
| - uses: stefanzweifel/git-auto-commit-action@v6.0.1 | |
| with: | |
| commit_message: Generating static files | |
| commit_user_name: OpenProject CI | |
| commit_user_email: openprojectci@users.noreply.github.com | |
| commit_author: OpenProject CI <openprojectci@users.noreply.github.com> | |
| file_pattern: lib/primer/classify/utilities.yml static/*.json |