Skip to content

Commit be5e5a2

Browse files
authored
Dial fully for lando update (#85)
* Dial fully for `lando update` * Update to node 18 * Manual yarn deprecation tasks. * Bundle deps for building images.
1 parent c3ec2cd commit be5e5a2

21 files changed

+9193
-4543
lines changed

.github/workflows/build-php-images.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
lando-version:
19-
- 3-dev
19+
- 3-dev-slim
2020
include:
2121
- image: php
2222
tag: 8.2-fpm-4
@@ -90,9 +90,15 @@ jobs:
9090
with:
9191
node-version: '18'
9292
registry-url: https://registry.npmjs.org
93-
cache: yarn
94-
- name: Install Yarn dependencies
95-
run: yarn install --prefer-offline --frozen-lockfile
93+
cache: npm
94+
- name: Install NPM dependencies
95+
run: npm clean-install --prefer-offline --frozen-lockfile
96+
- name: Bundle Deps
97+
uses: lando/prepare-release-action@v3
98+
with:
99+
lando-plugin: true
100+
version: dev
101+
sync: false
96102
- name: Setup lando ${{ matrix.lando-version }}
97103
uses: lando/setup-lando@v2
98104
with:

.github/workflows/pr-docs-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
cache: yarn
24-
- name: Install Yarn dependencies
25-
run: yarn install --prefer-offline --frozen-lockfile
23+
cache: npm
24+
- name: Install NPM dependencies
25+
run: npm clean-install --prefer-offline --frozen-lockfile
2626

2727
# Run tests
2828
- name: Run linter
29-
run: yarn docs:lint
29+
run: npm run docs:lint
3030
- name: Test build
31-
run: yarn docs:build
31+
run: npm run docs:build

.github/workflows/pr-legacy-php5-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- examples/5.5
1818
- examples/5.6
1919
lando-version:
20-
- 3-dev
20+
- 3-dev-slim
2121
os:
2222
- ubuntu-22.04
2323
node-version:
@@ -31,9 +31,15 @@ jobs:
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
registry-url: https://registry.npmjs.org
34-
cache: yarn
35-
- name: Install Yarn dependencies
36-
run: yarn install --prefer-offline --frozen-lockfile
34+
cache: npm
35+
- name: Install NPM dependencies
36+
run: npm clean-install --prefer-offline --frozen-lockfile
37+
- name: Bundle Deps
38+
uses: lando/prepare-release-action@v3
39+
with:
40+
lando-plugin: true
41+
version: dev
42+
sync: false
3743
- name: Setup lando ${{ matrix.lando-version }}
3844
uses: lando/setup-lando@v2
3945
with:

.github/workflows/pr-legacy-php7-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- examples/7.1
1717
- examples/7.2
1818
lando-version:
19-
- 3-dev
19+
- 3-dev-slim
2020
os:
2121
- ubuntu-22.04
2222
node-version:
@@ -30,9 +30,15 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
registry-url: https://registry.npmjs.org
33-
cache: yarn
34-
- name: Install Yarn dependencies
35-
run: yarn install --prefer-offline --frozen-lockfile
33+
cache: npm
34+
- name: Install NPM dependencies
35+
run: npm clean-install --prefer-offline --frozen-lockfile
36+
- name: Bundle Deps
37+
uses: lando/prepare-release-action@v3
38+
with:
39+
lando-plugin: true
40+
version: dev
41+
sync: false
3642
- name: Setup lando ${{ matrix.lando-version }}
3743
uses: lando/setup-lando@v2
3844
with:

.github/workflows/pr-linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
cache: yarn
24-
- name: Install Yarn dependencies
25-
run: yarn install --prefer-offline --frozen-lockfile
23+
cache: npm
24+
- name: Install NPM dependencies
25+
run: npm clean-install --prefer-offline --frozen-lockfile
2626

2727
# Run the linter
2828
- name: Run code linter
29-
run: yarn lint
29+
run: npm run lint

.github/workflows/pr-php-extension-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
leia-tests:
1515
- examples/php-extensions
1616
lando-version:
17-
- 3-dev
17+
- 3-dev-slim
1818
os:
1919
- ubuntu-22.04
2020
node-version:
@@ -27,9 +27,15 @@ jobs:
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
registry-url: https://registry.npmjs.org
30-
cache: yarn
31-
- name: Install Yarn dependencies
32-
run: yarn install --prefer-offline --frozen-lockfile
30+
cache: npm
31+
- name: Install NPM dependencies
32+
run: npm clean-install --prefer-offline --frozen-lockfile
33+
- name: Bundle Deps
34+
uses: lando/prepare-release-action@v3
35+
with:
36+
lando-plugin: true
37+
version: dev
38+
sync: false
3339
- name: Setup lando ${{ matrix.lando-version }}
3440
uses: lando/setup-lando@v2
3541
with:

.github/workflows/pr-php-other-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- examples/composer
1717
- examples/xdebug
1818
lando-version:
19-
- 3-dev
19+
- 3-dev-slim
2020
os:
2121
- ubuntu-22.04
2222
node-version:
@@ -30,9 +30,15 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
registry-url: https://registry.npmjs.org
33-
cache: yarn
34-
- name: Install Yarn dependencies
35-
run: yarn install --prefer-offline --frozen-lockfile
33+
cache: npm
34+
- name: Install NPM dependencies
35+
run: npm clean-install --prefer-offline --frozen-lockfile
36+
- name: Bundle Deps
37+
uses: lando/prepare-release-action@v3
38+
with:
39+
lando-plugin: true
40+
version: dev
41+
sync: false
3642
- name: Setup lando ${{ matrix.lando-version }}
3743
uses: lando/setup-lando@v2
3844
with:

.github/workflows/pr-php7-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- '7.3'
1616
- '7.4'
1717
lando-version:
18-
- 3-dev
18+
- 3-dev-slim
1919
os:
2020
- ubuntu-22.04
2121
node-version:
@@ -29,9 +29,15 @@ jobs:
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
registry-url: https://registry.npmjs.org
32-
cache: yarn
33-
- name: Install Yarn dependencies
34-
run: yarn install --prefer-offline --frozen-lockfile
32+
cache: npm
33+
- name: Install NPM dependencies
34+
run: npm clean-install --prefer-offline --frozen-lockfile
35+
- name: Bundle Deps
36+
uses: lando/prepare-release-action@v3
37+
with:
38+
lando-plugin: true
39+
version: dev
40+
sync: false
3541
- name: Setup lando ${{ matrix.lando-version }}
3642
uses: lando/setup-lando@v2
3743
with:

.github/workflows/pr-php8-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- '8.1'
1717
- '8.2'
1818
lando-version:
19-
- 3-dev
19+
- 3-dev-slim
2020
os:
2121
- ubuntu-22.04
2222
node-version:
@@ -30,9 +30,15 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
registry-url: https://registry.npmjs.org
33-
cache: yarn
34-
- name: Install Yarn dependencies
35-
run: yarn install --prefer-offline --frozen-lockfile
33+
cache: npm
34+
- name: Install NPM dependencies
35+
run: npm clean-install --prefer-offline --frozen-lockfile
36+
- name: Bundle Deps
37+
uses: lando/prepare-release-action@v3
38+
with:
39+
lando-plugin: true
40+
version: dev
41+
sync: false
3642
- name: Setup lando ${{ matrix.lando-version }}
3743
uses: lando/setup-lando@v2
3844
with:

.github/workflows/pr-unit-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,16 @@ jobs:
2222
uses: actions/setup-node@v3
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
cache: yarn
26-
- name: Install Yarn dependencies
27-
run: yarn install --prefer-offline --frozen-lockfile
25+
cache: npm
26+
- name: Install NPM dependencies
27+
run: npm clean-install --prefer-offline --frozen-lockfile
28+
- name: Bundle Deps
29+
uses: lando/prepare-release-action@v3
30+
with:
31+
lando-plugin: true
32+
version: dev
33+
sync: false
2834

2935
# Run unit tests
3036
- name: Run unit tests
31-
run: yarn test:unit
37+
run: npm run test:unit

0 commit comments

Comments
 (0)