Update grid-uikit and refactor to use MoltenPushButtonGroup #3416
This file contains hidden or 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: Formatting validator | |
| on: push | |
| jobs: | |
| formatting-validator: | |
| name: Prettier validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: "" | |
| submodules: true | |
| - name: Setup NodeJs | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "18.16.1" | |
| - name: Install libudev-dev | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install -y libudev-dev | |
| - name: Install dependencies | |
| run: | | |
| npm ci | |
| npm run format | |
| git status | |
| touch format_error.txt | |
| echo 'Changed Files:' | |
| git diff --name-only | |
| git diff --name-only >> format_error.txt | |
| if [ -s format_error.txt ]; then | |
| echo "ERROR IN FORMATTING, PLEASE RUN PRETTIER ON THE CODEBASE BEFORE COMMITTING" | |
| echo "Files:" | |
| cat format_error.txt | |
| exit 1 | |
| fi | |
| - uses: tsickert/discord-webhook@v4.0.0 | |
| if: ${{ failure() }} | |
| with: | |
| webhook-url: ${{ secrets.DISCORD_DEV_WEBHOOK }} | |
| content: "Format error in the following files!" | |
| filename: "format_error.txt" |