Skip to content

[SelectPanel] Fix issue causing no error banner to appear when there … #1542

[SelectPanel] Fix issue causing no error banner to appear when there …

[SelectPanel] Fix issue causing no error banner to appear when there … #1542

Workflow file for this run

name: Generate static files
on:
push:
branches:
- main
jobs:
static:
runs-on: ubuntu-latest
steps:
# Unfortunately we can't use the primer GitHub App and camertron/github-app-installation-auth-action
# because branch protection rules cannot be bypassed by Apps.
- uses: actions/checkout@v4
with:
token: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- uses: actions/setup-node@v4
with:
node-version: 16
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@v5
with:
commit_message: Generating static files
commit_user_name: GitHub Design Engineering Bot
commit_user_email: [email protected]
commit_author: primer-css <[email protected]>
file_pattern: lib/primer/classify/utilities.yml static/*.json