fix: make EsCarousel autoplay stop upon interaction #7455
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout π | |
| uses: actions/checkout@v4 | |
| - name: Get nodenv version π | |
| id: nodenv | |
| shell: bash | |
| run: echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT | |
| - name: Setup node env π | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '${{ steps.nodenv.outputs.node-version }}' | |
| check-latest: true | |
| - name: Install dependencies π¨π»βπ» | |
| run: | | |
| make install | |
| make symlink | |
| # `npm install` (in make install) triggers es-ds-docs' postinstall, which runs | |
| # `nuxt prepare` against the published @energysage/es-ds-components from the lockfile β | |
| # before `make symlink` swaps in the local layer. Re-prepare with a clean .nuxt so the | |
| # auto-import types reflect the symlinked layer's current source. | |
| - name: Re-prepare Nuxt against symlinked layer | |
| working-directory: ./es-ds-docs | |
| run: rm -rf .nuxt && npx nuxi prepare | |
| - name: Building | |
| run: make build | |
| - name: Run linter π | |
| run: make lint | |
| - name: Run typechecker | |
| run: make typecheck | |
| - name: Run tests π§ͺ | |
| run: make test |