fix: error radix-vue on build #217
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: Run CI | |
on: | |
push: | |
branches: master | |
tags: v* | |
pull_request: | |
branches: "*" | |
jobs: | |
unit: | |
name: "Unit testing" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: https://registry.npmjs.org | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- run: yarn run test:unit | |
e2e: | |
name: "E2E testing" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
projects_name: [chromium, firefox, webkit] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
registry-url: https://registry.npmjs.org | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- run: yarn build | |
- run: yarn playwright:install | |
- name: Run E2E tests | |
run: yarn run test:e2e --project=${{ matrix.projects_name }} | |
- name: Upload the results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-results-${{ matrix.projects_name }} | |
path: e2e-results/ | |
retention-days: 5 |