-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renovate/autoprefixer-10.x
- Loading branch information
Showing
27 changed files
with
404 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Push Drainpipe Dev Package | |
on: | ||
push: | ||
branches: | ||
- main | ||
- '**' | ||
tags: | ||
- 'v*' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Clean Drainpipe Dev Package | ||
|
||
on: delete | ||
|
||
concurrency: | ||
group: drainpipe-dev | ||
cancel-in-progress: false | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
Drainpipe-Dev-Clean: | ||
name: Push branch to drainpipe-dev | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Add drainpipe-dev deploy key in order to run git clone | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.DRAINPIPE_DEV_DEPLOY_KEY }} | ||
log-public-key: false | ||
|
||
# Commits made by the https://github.com/apps/lullabot-drainpipe application. | ||
# @see https://github.com/orgs/community/discussions/24664 | ||
- name: Create git checkout of drainpipe-dev | ||
working-directory: drainpipe-dev | ||
run: | | ||
git init | ||
git branch -m ${{ github.event.ref }} | ||
git remote add origin [email protected]:Lullabot/drainpipe-dev.git | ||
git fetch origin | ||
git reset --mixed origin/${{ github.event.ref }} | ||
git config user.name "Lullabot-Drainpipe[bot]" | ||
git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com" | ||
- name: Delete ref from drainpipe-dev | ||
working-directory: drainpipe-dev | ||
run: | | ||
git push origin --delete ${{ github.event.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,12 @@ concurrency: | |
jobs: | ||
Build: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- name: Create a Drupal project | ||
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd | ||
run: composer create-project drupal/recommended-project:^${{ matrix.drupal-version }} . --ignore-platform-reqs | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -35,7 +38,8 @@ jobs: | |
- name: Setup Project | ||
run: | | ||
ddev config --auto | ||
ddev config --nodejs-version "18" | ||
ddev config --nodejs-version "22" | ||
ddev config --corepack-enable | ||
ddev start | ||
ddev composer config extra.drupal-scaffold.gitignore true | ||
ddev composer config --json extra.drupal-scaffold.allowed-packages '["lullabot/drainpipe-dev", "lullabot/drainpipe"]' | ||
|
@@ -64,16 +68,19 @@ jobs: | |
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
path: /tmp/drainpipe.zip | ||
|
||
Test-NPM: | ||
runs-on: ubuntu-22.04 | ||
needs: Build | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
|
||
- name: Restore Workspace | ||
run: | | ||
|
@@ -112,16 +119,19 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test_result-npm | ||
name: test_result-npm-${{ matrix.drupal-version }} | ||
path: test_result | ||
|
||
Test-Yarn-Classic: | ||
runs-on: ubuntu-22.04 | ||
needs: Build | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
|
||
- name: Restore Workspace | ||
run: | | ||
|
@@ -143,7 +153,9 @@ jobs: | |
|
||
- name: Setup Nightwatch | ||
run: | | ||
ddev yarn set version classic | ||
ddev exec corepack disable | ||
ddev exec npm i -g [email protected] | ||
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 | ||
|
@@ -161,16 +173,19 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test_result-yarn-classic | ||
name: test_result-yarn-classic-${{ matrix.drupal-version }} | ||
path: test_result | ||
|
||
Test-Yarn-3-Node-Linker: | ||
runs-on: ubuntu-22.04 | ||
needs: Build | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
|
||
- name: Restore Workspace | ||
run: | | ||
|
@@ -195,7 +210,7 @@ jobs: | |
ddev yarn set version berry | ||
ddev yarn set version 3 | ||
ddev yarn init -y | ||
yarn config set nodeLinker node-modules | ||
ddev yarn config set nodeLinker node-modules | ||
ddev yarn add nightwatch nightwatch-accessibility @lullabot/nightwatch-drupal-commands lodash --dev | ||
- name: Install Drupal | ||
|
@@ -212,16 +227,19 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test_result-yarn3-nl | ||
name: test_result-yarn3-nl-${{ matrix.drupal-version }} | ||
path: test_result | ||
|
||
Test-Yarn-4-Node-Linker: | ||
runs-on: ubuntu-22.04 | ||
needs: Build | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
|
||
- name: Restore Workspace | ||
run: | | ||
|
@@ -243,12 +261,11 @@ jobs: | |
|
||
- name: Setup Nightwatch | ||
run: | | ||
ddev config --nodejs-version=21 | ||
ddev restart | ||
ddev yarn set version berry | ||
ddev yarn set version 4 | ||
ddev yarn init -y | ||
yarn config set nodeLinker node-modules | ||
ddev yarn config set nodeLinker node-modules | ||
ddev yarn add nightwatch nightwatch-accessibility @lullabot/nightwatch-drupal-commands lodash --dev | ||
- name: Install Drupal | ||
|
@@ -265,16 +282,19 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test_result-yarn4-nl | ||
name: test_result-yarn4-nl-${{ matrix.drupal-version }} | ||
path: test_result | ||
|
||
Test-Yarn-3: | ||
runs-on: ubuntu-22.04 | ||
needs: Build | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
|
||
- name: Restore Workspace | ||
run: | | ||
|
@@ -319,16 +339,19 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test_result-yarn3 | ||
name: test_result-yarn3-${{ matrix.drupal-version }} | ||
path: test_result | ||
|
||
Test-Yarn-4: | ||
runs-on: ubuntu-22.04 | ||
needs: Build | ||
strategy: | ||
matrix: | ||
drupal-version: [ 10, 11 ] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: test-functional-build | ||
name: test-functional-build-${{ matrix.drupal-version }} | ||
|
||
- name: Restore Workspace | ||
run: | | ||
|
@@ -350,7 +373,6 @@ jobs: | |
|
||
- name: Setup Nightwatch | ||
run: | | ||
ddev config --nodejs-version=21 | ||
ddev restart | ||
ddev yarn set version berry | ||
ddev yarn init -y | ||
|
@@ -375,5 +397,5 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test_result-yarn4 | ||
name: test_result-yarn4-${{ matrix.drupal-version }} | ||
path: test_result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.