Feat/pre release improvements #6
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 - TWD Test App CI tests | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 24 | |
| - name: Install dependencies | |
| working-directory: examples/twd-test-app | |
| run: npm i | |
| - name: Start Vite dev server | |
| working-directory: examples/twd-test-app | |
| run: | | |
| echo "Starting Vite dev server..." | |
| ls -la | |
| nohup npm run dev:ci > vite.log 2>&1 & | |
| npx wait-on http://localhost:5173 --timeout 4000 | |
| sleep 3 | |
| env: | |
| CI: true | |
| - name: Run Puppeteer tests (test:ci) | |
| working-directory: examples/twd-test-app | |
| run: npm run test:ci | |
| env: | |
| CI: true | |
| - name: Display coverage | |
| working-directory: examples/twd-test-app | |
| run: | | |
| npm run collect:coverage:text |