Bump rack from 2.2.7 to 2.2.8 (#2178) #638
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: Generate static files | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GPR_AUTH_TOKEN_SHARED }} | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
bundler-cache: true | |
- uses: actions/setup-node@v3 | |
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 | |
bundle exec rake docs:build_lookbook_pages | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Generating static files | |
commit_user_name: GitHub Design Engineering Bot | |
commit_user_email: primer-css@users.noreply.github.com | |
commit_author: primer-css <primer-css@users.noreply.github.com> | |
file_pattern: lib/primer/classify/utilities.yml static/*.json |