feat: add getCurrentSchoolyear() (#109) #85
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: Ensure code is formatted | |
on: [push, pull_request] | |
concurrency: ci-${{ github.ref }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- run: git pull --rebase | |
- name: Install node_modules | |
run: yarn | |
- name: Format | |
run: yarn format | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
with: | |
author_name: high5-bot | |
author_email: [email protected] | |
message: 'style: format code with prettier' | |
add: '.' | |
push: true |