mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-06 02:38:06 +09:00
32 lines
659 B
YAML
32 lines
659 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
strategy:
|
|
matrix:
|
|
workspace:
|
|
- backend-771cdf
|
|
- client-66101c
|
|
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
|
|
- run: corepack enable
|
|
- run: yarn set version berry
|
|
- run: yarn workspaces foreach install --immutable
|
|
env:
|
|
YARN_CHECKSUM_BEHAVIOR: update
|
|
- run: yarn workspace ${{ matrix.workspace }} run lint
|