Cvičení na znvupoužitelnost #628
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: Fixer | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
fix: | |
name: Fix | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Prettier fix | |
run: npm run fix | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
title: Oprava podle pravidel Prettieru | |
branch: pr/fix | |
commit-message: Oprava formátování pomocí `npm run fix` |