Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 #227

Bump word-wrap from 1.2.3 to 1.2.4

Bump word-wrap from 1.2.3 to 1.2.4 #227

name: Check Plugins Installed
on:
pull_request:
jobs:
buildx:
runs-on: ubuntu-22.04
env:
TERM: xterm
strategy:
fail-fast: false
matrix:
plugins:
- acquia
- apache
- backdrop
- compose
- core
- dotnet
- drupal
- elasticsearch
- go
- joomla
- lagoon
- lamp
- laravel
- lemp
- mailhog
- mariadb
- mean
- memcached
- mongo
- mssql
- mysql
- nginx
- node
- pantheon
- php
- phpmyadmin
- platformsh
- postgres
- python
- redis
- ruby
- solr
- symfony
- tomcat
- wordpress
- varnish
steps:
# Install deps and cache
# Eventually it would be great if these steps could live in a separate YAML file
# that could be included in line to avoid code duplication
- name: Checkout code
uses: actions/checkout@v3
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install Yarn dependencies
run: yarn install --prefer-offline --frozen-lockfile
# This block should eventually become use lando/actions-hyperdrive@v2
- name: Verify Docker dependencies
run: |
docker --version | grep "20.10."
docker-compose --version | grep "1.29."
# - name: Install via hyperdrive if above is bad
- name: Disable usage and error reporting
run: |
mkdir -p ~/.lando/cache
echo false > ~/.lando/cache/report_errors
sed -i "s/report: true.*/report: false/" config.yml
- name: Package CLI
run: yarn cli:build
- name: Replace source CLI with packaged one
run: sudo mv ./dist/@lando/cli /usr/local/bin/lando
- name: Verify we can run the packaged CLI
run: |
lando version
lando config
# Checks to make sure the plugins listed in the matrix have the right path
- name: Check if @lando/${{ matrix.plugins }} is installed correctly
run: |
lando config --path plugins | grep node_modules/@lando/${{ matrix.plugins }}