mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 13:53:09 +02:00
25 lines
453 B
YAML
25 lines
453 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
cache: 'yarn'
|
|
cache-dependency-path: |
|
|
packages/backend/yarn.lock
|
|
packages/client/yarn.lock
|
|
- run: yarn install
|
|
- run: yarn lint
|