FIX: Cleanup node_modules when using non-default branch (#722)
authorDavid Taylor <david@taylorhq.com>
Tue, 4 Jul 2023 13:39:54 +0000 (14:39 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 13:39:54 +0000 (14:39 +0100)
commit4fe3ef733850349f48db11dc4dd587c4d5b70a64
tree704841b2e78d70497a2ec5b91c5cfae47d022890
parent984d5495edfa8af028ab6809407af817d555125c
FIX: Cleanup node_modules when using non-default branch (#722)

Yarn seems to have issues 'downgrading' our set of packages from tests-passed (which are pre-installed in the base image) to the versions on the stable branch.

In the medium term we intend to switch to the pnpm package manager, which shouldn't have this issue. In the meantime, we can work around the problem by deleting the pre-installed node_modules and installing from scratch.

https://meta.discourse.org/t/270491
templates/web.template.yml