Clean up and formatting #28
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: Build & Test | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| main: | |
| name: "Build & Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: npm i | |
| - name: Install Playwright | |
| run: npx playwright install --with-deps | |
| - name: Build (Debug version) | |
| run: npm run build:debug | |
| - name: "Test: Alpine.js plugins (playwright)" | |
| run: npm run test:playwright | |
| env: | |
| CI: true | |
| - name: "Test: Alpine.js plugins (vitest)" | |
| run: npm run test:vitest |