From 75b885f52493d6c5bd266533e3b161da8c4ceec6 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Mon, 9 Sep 2024 11:58:41 -0700 Subject: [PATCH] Update setup-lando to v3, ubuntu-24.04, and 3-edge-slim. Introduce new .lando.yml template for docs. --- .github/workflows/pr-docs-tests.yml | 2 +- .github/workflows/pr-linter.yml | 2 +- .github/workflows/pr-unit-tests.yml | 2 +- .github/workflows/pr-varnish-tests.yml | 6 +++--- .github/workflows/release.yml | 2 +- .lando.yml | 28 +++++++++++++++++--------- 6 files changed, 26 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pr-docs-tests.yml b/.github/workflows/pr-docs-tests.yml index 4aaef50..0b0ca29 100644 --- a/.github/workflows/pr-docs-tests.yml +++ b/.github/workflows/pr-docs-tests.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: - - ubuntu-22.04 + - ubuntu-24.04 node-version: - '18' steps: diff --git a/.github/workflows/pr-linter.yml b/.github/workflows/pr-linter.yml index 29a6d74..a8311d2 100644 --- a/.github/workflows/pr-linter.yml +++ b/.github/workflows/pr-linter.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: - - ubuntu-22.04 + - ubuntu-24.04 node-version: - '18' steps: diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index f43a08f..26a8daf 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -10,7 +10,7 @@ jobs: matrix: os: - windows-2022 - - ubuntu-22.04 + - ubuntu-24.04 - macos-12 node-version: - '18' diff --git a/.github/workflows/pr-varnish-tests.yml b/.github/workflows/pr-varnish-tests.yml index 7e78b2c..cd55e51 100644 --- a/.github/workflows/pr-varnish-tests.yml +++ b/.github/workflows/pr-varnish-tests.yml @@ -16,9 +16,9 @@ jobs: - examples/6.x - examples/custom lando-version: - - 3-dev-slim + - 3-edge-slim os: - - ubuntu-22.04 + - ubuntu-24.04 node-version: - '18' steps: @@ -40,7 +40,7 @@ jobs: version: dev sync: false - name: Setup lando ${{ matrix.lando-version }} - uses: lando/setup-lando@v2 + uses: lando/setup-lando@v3 with: lando-version: ${{ matrix.lando-version }} config: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3b50e7..0bdd37b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: - - ubuntu-22.04 + - ubuntu-24.04 node-version: - '18' steps: diff --git a/.lando.yml b/.lando.yml index 8bf0d87..278eaaf 100644 --- a/.lando.yml +++ b/.lando.yml @@ -1,14 +1,24 @@ -name: lando-CHANGEME-plugin +name: docs.varnish +proxy: + cli: + - docs.varnish.lndo.site:5173 services: - node: - type: node:14 - build: - - npm install + cli: + api: 4 + image: node:18 + command: sleep infinity + ports: + - 5173:5173/http scanner: false - ssl: false - sslExpose: false + user: node + build: + app: | + npm install tooling: node: - service: node + service: cli npm: - service: node + service: cli + vitepress: + service: cli + cmd: npx vitepress