Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
gewenyu99 committed Jul 22, 2024
1 parent 63538af commit 2db0f0e
Showing 1 changed file with 7 additions and 36 deletions.
43 changes: 7 additions & 36 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,42 +19,13 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.3
run_install: true
- run: pnpm run lint --ci
- name: Checkout
uses: actions/checkout@v3

Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.3
run_install: true
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} && pnpm run check
- name: Trunk Check
uses: trunk-io/trunk-action@v1
# with:
# post-annotations: true # only for fork PRs

Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.3
run_install: true
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} && pnpm run test

Playwright-Tests:
name: Playwright Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.3
run_install: true
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} && pnpm run pw

0 comments on commit 2db0f0e

Please sign in to comment.