Altinn / altinn-authentication-frontend

Authentication React frontend with BFF
MIT License
1 stars 0 forks source link

Enable corepack in Playwright tests #329

Closed mgunnerud closed 2 months ago

mgunnerud commented 2 months ago

Description

We currently use yarn 4.3.1 for running the Playwright tests, but the newest yarn version in npm is 1.22.22. We need to enable corepack to be able to download and use yarn 4.3.1 to run the Playwright tests. In yarn v4, using corepack is considered best practice instead of including yarn binary in repo (https://yarnpkg.com/blog/release/4.0).

Related Issue(s)

Verification

Documentation