-
-
Notifications
You must be signed in to change notification settings - Fork 33
78 lines (73 loc) · 1.9 KB
/
pr-plugins-installed.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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
# package cli so we can use that in setup lando
- name: Package CLI
run: yarn cli:build
- name: Setup locally built lando
uses: lando/setup-lando@v2
with:
lando-version: ./dist/@lando/cli
telemetry: false
# 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 }}