processor: Use catch
in async-lock
#1849
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' |