Information about vesting (#313) #1134
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: Pull Request CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
prettier: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
persist-credentials: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install global npm package | |
run: npm install -g npm@8 | |
- name: Prettify code | |
uses: creyD/[email protected] | |
with: | |
prettier_options: --write src/*.md | |
only_changed: True | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply formatting changes | |
branch: ${{ github.head_ref }} |