diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 1ef1515..1418ecd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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 \ No newline at end of file + \ No newline at end of file