feat(ui): #29 added logic to support multiple files #56
Workflow file for this run
This file contains 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-ignore: | |
- '**' # Ignore all branches for push events | |
pull_request: | |
branches: | |
- '**' # Run on every PR | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # Required for actions/checkout | |
id-token: write # Required for uploading artifacts | |
actions: read # Required for using actions | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npx pnpm install | |
- name: Run ESLint | |
run: npm run lint | |
- name: Run Prettier | |
run: npm run format --check | |
- name: Run Unit Tests | |
run: npm run test:unit | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run Playwright tests | |
env: | |
CI: true | |
run: npx playwright test | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |