Skip to content

feat(pass-style): generalize passable errors, throwables #8360

feat(pass-style): generalize passable errors, throwables

feat(pass-style): generalize passable errors, throwables #8360

Workflow file for this run

name: Test project mutual dependency versions
# run CI on pushes to master, and on all PRs (even the ones that target other
# branches)
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
# without this, setup-node errors on mismatched yarn versions
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install graphviz
run: sudo apt install -y graphviz
- name: Check for cycles
run: scripts/check-dependency-cycles.sh 0
# Under Yarn "classic" this job also checked for mismatchedWorkspaceDependencies
# (https://github.com/yarnpkg/yarn/blob/158d96dce95313d9a00218302631cd263877d164/src/cli/commands/workspaces.js#L49)
# but it's not supported in Berry and it's better solved by the "workspace:*" protocol.
# If we do want more workspace constraint enforcement, we can define arbitrarily with:
# https://yarnpkg.com/features/constraints