processor: Switch to "promise style" for async-lock (#641) #1844
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 processor | |
on: | |
push: | |
paths: | |
- 'processor/**' | |
defaults: | |
run: | |
working-directory: processor | |
jobs: | |
lint_processor: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Setup Node 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- uses: actions/checkout@v3 | |
- run: 'yarn install' | |
- run: 'yarn lint --max-warnings 0' | |
- run: 'yarn tsc' | |
- run: 'yarn prettier --check' |