Fix unintentionally scrolling sidebar #4060
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: npm-build | |
on: | |
pull_request: | |
branches: | |
- 3.x | |
types: | |
- closed | |
jobs: | |
npm-build: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: 3.x | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build assets | |
run: npm run build | |
- name: Pull changes | |
run: git pull | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
branch: 3.x | |
commit_message: > | |
chore: build assets |