name: Unlighthouse - Demo Site on: workflow_dispatch: jobs: Unlighthouse-demo: runs-on: ubuntu-latest defaults: run: working-directory: ./unlighthouse steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Dependencies run: npm install -g @unlighthouse/cli puppeteer netlify-cli - name: Unlighthouse assertions and client run: unlighthouse-ci --site demo.astro-ghostcms.xyz --budget 75 --build-static - name: Deploy run: netlify deploy --dir=.unlighthouse --prod --message="New Release Deploy from GitHub Actions" env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}