ignore this pr please #222
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 Mandatory Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
Check-Formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check Prettier Using Node 18.x (LTS) | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: npm install | |
- run: npm run format | |
- name: Check formatting changes | |
run: git diff --exit-code | |
Check-Lint: | |
runs-on: ubuntu-latest | |
needs: [Check-Formatting] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check Lint Using Node 18.x (LTS) | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: npm install | |
- run: npm run lint | |
Check-Build: | |
runs-on: ubuntu-latest | |
needs: [Check-Formatting] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check Build Using Node 18.x LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: npm install | |
- run: npm run build |