mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Migrate yarn from v1 to v2 (#39082)
* Chore: Migrate yarn from v1 to v2 Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
This commit is contained in:
@@ -62,7 +62,7 @@ def initialize_step(edition, platform, ver_mode, is_downstream=False, install_de
|
||||
|
||||
if install_deps:
|
||||
common_cmds.extend([
|
||||
'yarn install --frozen-lockfile --no-progress',
|
||||
'yarn install --immutable',
|
||||
])
|
||||
if edition in ('enterprise', 'enterprise2'):
|
||||
source_commit = ''
|
||||
@@ -427,7 +427,7 @@ def test_a11y_frontend_step(edition, port=3001):
|
||||
'failure': 'ignore',
|
||||
'commands': [
|
||||
'yarn wait-on http://$HOST:$PORT',
|
||||
'yarn -s test:accessibility --json > pa11y-ci-results.json',
|
||||
'yarn run test:accessibility --json > pa11y-ci-results.json',
|
||||
],
|
||||
}
|
||||
|
||||
@@ -446,7 +446,7 @@ def test_a11y_frontend_step_pr(edition, port=3001):
|
||||
'failure': 'ignore',
|
||||
'commands': [
|
||||
'yarn wait-on http://$HOST:$PORT',
|
||||
'yarn -s test:accessibility-pr',
|
||||
'yarn run test:accessibility-pr',
|
||||
],
|
||||
}
|
||||
|
||||
@@ -632,7 +632,7 @@ def e2e_tests_step(edition, port=3001, tries=None):
|
||||
'commands': [
|
||||
# Have to re-install Cypress since it insists on searching for its binary beneath /root/.cache,
|
||||
# even though the Yarn cache directory is beneath /usr/local/share somewhere
|
||||
'./node_modules/.bin/cypress install',
|
||||
'yarn run cypress install',
|
||||
cmd,
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user