Upgrade StaderOracle implementation (#258) #1023
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: Lint | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
checks: write | |
contents: write | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.github_token }} | |
- name: Set up nodejs | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: install dependencies (npm) | |
run: npm ci --frozen-lockfile | |
- name: Prettier | |
run: npm run prettier:check | |
- name: Solhint | |
run: npm run lint |