diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba970c3..45726d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,25 +6,26 @@ on: env: TERM: xterm + LANDO_VERSION: 3.20.8 jobs: lando: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Lando install run: | - sudo curl -fsSL -o /usr/local/bin/lando "https://github.com/lando/cli/releases/download/v3.20.4/lando-linux-x64-v3.20.4" + sudo curl -fsSL -o /usr/local/bin/lando "https://github.com/lando/cli/releases/download/v${{ env.LANDO_VERSION }}/lando-linux-x64-v${{ env.LANDO_VERSION }}" sudo chmod +x /usr/local/bin/lando - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.lando/cache - key: lando-3.20.4-${{ github.ref }} + key: lando-${{ env.LANDO_VERSION }}-${{ github.ref }} restore-keys: | - lando-3.20.4- + lando-${{ env.LANDO_VERSION }}- - name: Lando start run: lando start diff --git a/.lando.yml b/.lando.yml index b130781..0242abe 100644 --- a/.lando.yml +++ b/.lando.yml @@ -5,8 +5,6 @@ config: php: '8.1' composer_version: '2.6.6' webroot: web - build: - - appserver: composer install --profile proxy: node: @@ -20,6 +18,8 @@ services: environment: ENVIRONMENT_TYPE: development DRUSH_OPTIONS_URI: "https://drupal-boilerplate.lndo.site" + build: + - composer install --profile database: type: mariadb:custom @@ -47,6 +47,9 @@ services: sslExpose: false port: 3000 scanner: false + build: + - npm --prefix web/themes/contrib/dvb ci + - npm --prefix web/themes/contrib/dvb run build tooling: npm: