Sharkey/.github/workflows/lint.yml

26 lines
461 B
YAML
Raw Normal View History

2021-10-27 09:16:13 -07:00
name: Lint
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
2022-04-02 23:21:46 -07:00
- uses: actions/setup-node@v3
2021-10-27 09:16:13 -07:00
with:
node-version: 16.x
2022-04-02 23:21:46 -07:00
cache: 'yarn'
cache-dependency-path: |
src/packages/backend/yarn.lock
src/packages/client/yarn.lock
2021-10-27 09:16:13 -07:00
- run: yarn install
- run: yarn lint