chore: explorer urls in config for mantle chain [AXE-2199] #310
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: Linting | |
on: | |
- pull_request | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
node-version: | |
- 18.x | |
os: | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Prettier | |
run: npm run prettier | |
- name: Check for changes | |
run: | | |
if [ -n "$(git status --porcelain)" ]; then | |
echo Following files are changed by prettier... | |
git status | |
echo Changes: | |
git diff | |
exit 1; | |
else | |
exit 0; | |
fi |