Merge pull request #277 from gyurielf/changeset-release/main #64
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: Test | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| workflow_dispatch: | |
| jobs: | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: pnpm | |
| - run: pnpm install --no-frozen-lockfile | |
| - run: pnpm test | |
| # e2e-test: | |
| # runs-on: ubuntu-latest | |
| # timeout-minutes: 15 | |
| # continue-on-error: true | |
| # defaults: | |
| # run: | |
| # working-directory: apps/docs-site | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: pnpm/action-setup@v4 | |
| # - uses: actions/setup-node@v4 | |
| # with: | |
| # node-version: 22.x | |
| # cache: pnpm | |
| # - run: pnpm install --no-frozen-lockfile | |
| # working-directory: . | |
| # - name: Build svelte-tel-input package | |
| # run: pnpm --filter svelte-tel-input package | |
| # working-directory: . | |
| # - name: Install Playwright browsers | |
| # run: pnpm exec playwright install --with-deps chromium | |
| # - name: Run e2e tests | |
| # run: pnpm test:e2e | |
| # - name: Upload Playwright report | |
| # if: always() | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: playwright-report | |
| # path: apps/docs-site/playwright-report/ | |
| # retention-days: 7 |