Release5 UI Changes (#76) #12
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: Auto format javascript code with prettier | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install packages | |
working-directory: frontend | |
run: npm install | |
- name: Format code | |
working-directory: frontend | |
run: npm run format | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: prettier action fixes | |
title: Fixes by prettier action | |
body: This is an auto-generated PR with fixes by prettier. | |
branch: prettier-patches |