Skip to content

Commit

Permalink
chore: WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Davids <[email protected]>
  • Loading branch information
sdavids committed Feb 5, 2025
1 parent 4569d55 commit 9705f7d
Showing 1 changed file with 7 additions and 38 deletions.
45 changes: 7 additions & 38 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
id: project
name: Check Links
# https://github.com/lycheeverse/lychee-action
uses: lycheeverse/[email protected]
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/[email protected]
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

0 comments on commit 9705f7d

Please sign in to comment.