mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 21:06:27 +01:00
30 lines
576 B
YAML
30 lines
576 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
strategy:
|
|
matrix:
|
|
workspace:
|
|
- backend
|
|
- client
|
|
- sw
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: true
|
|
- uses: actions/setup-node@v3.2.0
|
|
with:
|
|
node-version: 18.x
|
|
cache: 'yarn'
|
|
- run: corepack enable
|
|
- run: yarn install --immutable
|
|
- run: yarn workspace ${{ matrix.workspace }} run lint
|