Skip to content

Commit

Permalink
Downgrade tests from Yarn 4 to Yarn 3 (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish authored Oct 25, 2023
1 parent 22dd228 commit 267d721
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/TestFunctional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
name: test_result
path: test_result

Test-Yarn-Berry-Node-Linker:
Test-Yarn-3-Node-Linker:
runs-on: ubuntu-22.04
needs: Build
steps:
Expand Down Expand Up @@ -193,6 +193,7 @@ jobs:
- name: Setup Nightwatch
run: |
ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
yarn config set nodeLinker node-modules
ddev yarn add nightwatch nightwatch-accessibility @lullabot/nightwatch-drupal-commands lodash --dev
Expand All @@ -214,7 +215,7 @@ jobs:
name: test_result
path: test_result

Test-Yarn-Berry:
Test-Yarn-3:
runs-on: ubuntu-22.04
needs: Build
steps:
Expand Down Expand Up @@ -243,6 +244,7 @@ jobs:
- name: Setup Nightwatch
run: |
ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
echo "packageExtensions:" >> .yarnrc.yml
echo ' "nightwatch@*":' >> .yarnrc.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/TestSass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ jobs:
- name: Setup Sass
run: |
ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
ddev yarn add @lullabot/drainpipe-sass --dev
Expand Down
1 change: 1 addition & 0 deletions tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ tasks:
yarn add $PACKAGES lodash --dev
elif [ "$PACKAGE_MANAGER" == "yarn" ]; then
yarn set version berry
yarn set version 3
yarn init
echo "packageExtensions:" >> .yarnrc.yml
echo ' "nightwatch@*":' >> .yarnrc.yml
Expand Down
1 change: 1 addition & 0 deletions tests/local-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ddev config --additional-hostnames="*.drainpipe"
ddev restart

ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
echo "packageExtensions:" >> .yarnrc.yml
echo ' "nightwatch@*":' >> .yarnrc.yml
Expand Down

0 comments on commit 267d721

Please sign in to comment.