Merge pull request #108 from 0xkf/origin/feat/refactoring #172
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
# This workflow run linters to check code is correctly linted. | |
name: Lint | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
# Just use the latest to lint | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run lint |