diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 91fe356..2d9df63 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -138,42 +138,11 @@ jobs: name: Create timestamp file run: node --run create:timestamp-file - if: steps.changes.outputs.hp == 'true' - name: Run Lighthouse CI - run: node --run lighthouseci - - if: steps.changes.outputs.hp == 'true' - name: Install Playwright - run: npx playwright install --with-deps --no-shell chromium - - if: steps.changes.outputs.hp == 'true' - name: Run e2e Tests - run: node --run e2e:ci - - if: steps.changes.outputs.hp == 'true' - name: Fetch project data - # https://github.com/ionos-deploy-now/retrieve-project-info-action/releases - uses: ionos-deploy-now/retrieve-project-info-action@v1.4.0 - id: project + name: Check Links + # https://github.com/lycheeverse/lychee-action + uses: lycheeverse/lychee-action@v2.3.0 with: - api-key: ${{ secrets.IONOS_API_KEY }} - project: ${{ secrets.IONOS_PROJECT_ID }} - service-host: api-eu.ionos.space - - if: | - steps.changes.outputs.hp == 'true' && - steps.project.outputs.deployment-enabled == 'true' - name: Deploy build - # https://github.com/ionos-deploy-now/deploy-to-ionos-action/releases - uses: ionos-deploy-now/deploy-to-ionos-action@v1.4.8 - with: - api-key: ${{ secrets.IONOS_API_KEY }} - bootstrap-deploy: ${{ steps.project.outputs.bootstrap-deploy }} - branch-id: ${{ steps.project.outputs.branch-id }} - dist-folder: hp/dist - project: ${{ secrets.IONOS_PROJECT_ID }} - remote-host: ${{ steps.project.outputs.remote-host }} - service-host: api-eu.ionos.space - storage-quota: ${{ steps.project.outputs.storage-quota }} - - if: | - steps.changes.outputs.hp == 'true' && - steps.project.outputs.deployment-enabled == 'true' - name: Run Smoke Tests on Deployed Site - run: node --run e2e:smoke - env: - PLAYWRIGHT_BASE_URL: https://sdavids.de + debug: true + # https://github.com/lycheeverse/lychee/releases + lycheeVersion: v0.18.0 + args: --no-progress --require-https --base hp/dist