-
-
Notifications
You must be signed in to change notification settings - Fork 8
66 lines (64 loc) · 1.68 KB
/
pr-actions-setup.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
name: Actions Setup Tests
on:
pull_request:
jobs:
setup-lando-actions-setup-test:
runs-on: ${{ matrix.os }}
env:
LANDO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
os:
# - macos-13
# - macos-14
- ubuntu-24.04
# - windows-2022
lando-version:
# - '3.14.0'
- '3-stable'
- '3-edge'
node-version:
- '20'
setup-string:
- 1
- auto
- enabled
- on
- run
- true
- 0
- false
- off
- disable
- disabled
- lando setup
- lando setup --skip-common-plugins --plugin @lando/node --orchestrator 2.21.0
- lando plugin-add @lando/php && lando setup
- mkdir -p test && lando setup
# these will fail
# - lando.dev something
# - oihywpihgklnw
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies and prepare
run: |
npm clean-install --prefer-offline --frozen-lockfile
npm run prepare
- name: Setup Lando version
uses: ./
with:
lando-version: ${{ matrix.lando-version }}
auto-setup: ${{ matrix.setup-string }}
telemetry: false
config: |
setup.skipCommonPlugins=true
setup.plugins.@lando/core=edge