Skip to content

Commit

Permalink
remove yarn workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Dec 9, 2024
1 parent 0a87313 commit ee467f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/TestFunctional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ jobs:
- name: Setup Nightwatch
run: |
ddev exec corepack disable
#ddev exec npm i -g yarn@1.22.1
#ddev exec 'ln -s $(npm root -g)/yarn/bin/yarn /usr/local/bin/yarn'
ddev exec npm i -g yarn@1.22.1
ddev exec 'rm /usr/local/bin/yarn'
ddev exec 'ln -s $(npm root -g)/yarn/bin/yarn /usr/local/bin/yarn'
ddev yarn init -y
ddev yarn add nightwatch nightwatch-accessibility @lullabot/nightwatch-drupal-commands lodash --dev
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/TestMetapackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ jobs:
- name: Setup Sass
run: |
ddev exec corepack disable
#ddev exec npm i -g yarn@1.22.1
#ddev exec 'ln -s $(npm root -g)/yarn/bin/yarn /usr/local/bin/yarn'
ddev exec npm i -g yarn@1.22.1
ddev exec 'rm /usr/local/bin/yarn'
ddev exec 'ln -s $(npm root -g)/yarn/bin/yarn /usr/local/bin/yarn'
ddev exec yarn init -y
ddev exec yarn add file:./drainpipe/metapackages/sass --dev
Expand Down Expand Up @@ -274,8 +275,9 @@ jobs:
- name: Setup Sass
run: |
ddev exec corepack disable
#ddev exec npm i -g yarn@1.22.1
#ddev exec 'ln -s $(npm root -g)/yarn/bin/yarn /usr/local/bin/yarn'
ddev exec npm i -g yarn@1.22.1
ddev exec 'rm /usr/local/bin/yarn'
ddev exec 'ln -s $(npm root -g)/yarn/bin/yarn /usr/local/bin/yarn'
ddev exec yarn init -y
ddev exec yarn add focus-trap@^6.7.3
ddev exec yarn add file:./drainpipe/metapackages/javascript --dev
Expand Down

0 comments on commit ee467f7

Please sign in to comment.