Add Agent Analytics example storefront #1
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| astro-velvet-paw: | |
| name: Astro Velvet Paw | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: examples/astro-velvet-paw | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: examples/astro-velvet-paw/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm test | |
| - name: Run Astro check | |
| run: npm run check | |
| - name: Build | |
| run: npm run build |