Port resource preview UX improvements to PromptsScreen (#1328) #3038
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: Run install, format, lint, build, and test on every push | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| - name: Install root dependencies | |
| run: npm install | |
| - name: Install web client dependencies | |
| working-directory: ./clients/web | |
| run: npm install | |
| - name: Check formatting | |
| working-directory: ./clients/web | |
| run: npm run format:check | |
| - name: Run linter | |
| working-directory: ./clients/web | |
| run: npm run lint | |
| - name: Run Build | |
| working-directory: ./clients/web | |
| run: npm run build | |
| - name: Run tests with coverage | |
| working-directory: ./clients/web | |
| run: npm run test:coverage | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-${{ hashFiles('clients/web/package-lock.json') }} | |
| - name: Install Playwright browsers | |
| working-directory: ./clients/web | |
| run: npx playwright install --with-deps chromium | |
| - name: Run Storybook play-function tests | |
| working-directory: ./clients/web | |
| run: npm run test:storybook |