mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 09:23:09 +02:00
214de03301
* update lint.yml * wip * fix * fix * continue-on-error: true
46 lines
955 B
YAML
46 lines
955 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
|
|
jobs:
|
|
yarn_install:
|
|
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
|
|
|
|
lint:
|
|
needs: [yarn_install]
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
strategy:
|
|
matrix:
|
|
workspace:
|
|
- backend
|
|
- client
|
|
- sw
|
|
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
|