Merge pull request #2339 from opossum-tool/fix-preserve-symlinks #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: Meta Platforms, Inc. and its affiliates | |
# SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Check code quality | |
on: | |
push: | |
branches: | |
- main | |
- 'renovate/*' | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
jobs: | |
check-code-quality: | |
runs-on: ubuntu-latest | |
if: | | |
!(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
node-version: 20 | |
- run: yarn install --immutable | |
- run: yarn format-check | |
- run: yarn lint-check | |
- run: yarn typecheck | |
- run: yarn circular-import-check | |
- run: yarn test:unit |