Skip to content

feat(dev): narrate the wait between ready and the first page #3892

feat(dev): narrate the wait between ready and the first page

feat(dev): narrate the wait between ready and the first page #3892

Workflow file for this run

name: autofix.ci # needed to securely identify the workflow
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
fetch-depth: 0
- run: npm i -g --force corepack && corepack enable
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: lts/*
cache: pnpm
- name: πŸ“¦ Install dependencies
run: pnpm install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: πŸ”  Lint project (+ fix)
run: pnpm run lint:fix
- name: πŸ” Check whether command docs are affected
id: docs-paths
run: |
base="$(git merge-base "origin/${{ github.base_ref }}" HEAD)"
if git diff --quiet "$base" HEAD -- packages docs scripts; then
echo "changed=false" >> "$GITHUB_OUTPUT"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: πŸ“ Sync command docs
if: steps.docs-paths.outputs.changed == 'true'
run: pnpm docs:generate
- name: πŸ” Check whether captures are affected
id: capture-paths
run: |
base="$(git merge-base "origin/${{ github.base_ref }}" HEAD)"
if git diff --quiet "$base" HEAD -- packages capture; then
echo "changed=false" >> "$GITHUB_OUTPUT"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: πŸ’Ύ Restore capture fixture
if: steps.capture-paths.outputs.changed == 'true'
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/nuxt-cli-capture
key: capture-fixture-${{ runner.os }}-${{ hashFiles('capture/fixture/package.json') }}
- name: πŸ›  Build project
if: steps.capture-paths.outputs.changed == 'true'
run: pnpm build
- name: πŸ“Ό Re-record terminal captures
if: steps.capture-paths.outputs.changed == 'true'
run: node --experimental-strip-types capture/record.ts
- uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 # 7a166d7532b277f34e16238930461bf77f9d7ed8