From 688f866bcea7ea69a3d457af18c62a80c6b980a6 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Mon, 9 Sep 2024 11:57:03 -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-nginx-tests.yml | 6 +++--- .github/workflows/pr-unit-tests.yml | 2 +- .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 4426009..ce4f159 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: - '16' steps: diff --git a/.github/workflows/pr-linter.yml b/.github/workflows/pr-linter.yml index 4cd2c70..1600d7f 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: - '16' steps: diff --git a/.github/workflows/pr-nginx-tests.yml b/.github/workflows/pr-nginx-tests.yml index 9d0cae1..334f981 100644 --- a/.github/workflows/pr-nginx-tests.yml +++ b/.github/workflows/pr-nginx-tests.yml @@ -12,9 +12,9 @@ jobs: fail-fast: false matrix: lando-version: - - 3-dev-slim + - 3-edge-slim os: - - ubuntu-22.04 + - ubuntu-24.04 node-version: - '16' leia-test: @@ -49,7 +49,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/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index 94b10cb..d2a27b1 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: - '16' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7acbe6a..5e951d6 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: - '16' steps: diff --git a/.lando.yml b/.lando.yml index 0a10069..fdcd887 100644 --- a/.lando.yml +++ b/.lando.yml @@ -1,14 +1,24 @@ -name: lando-nginx-plugin +name: docs.nginx +proxy: + cli: + - docs.nginx.lndo.site:5173 services: - node: - type: node:16 - 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