Skip to content

test: tests live binding on a let (demonstrates: #2431) #7556

test: tests live binding on a let (demonstrates: #2431)

test: tests live binding on a let (demonstrates: #2431) #7556

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@v3
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