feat: add LogLayer - A logger for Typescript to llms.txt hub #139
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: PR Review | |
on: | |
pull_request: | |
branches: ['main'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Check Frontmatter | |
run: pnpm check:frontmatter | |
- name: Run Biome Check | |
uses: mongolyy/reviewdog-action-biome@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-review | |
- name: Run type check | |
run: pnpm typecheck | |
- name: Run tests | |
run: pnpm test | |
# links: | |
# name: Check Links | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v4 | |
# - name: Check Links | |
# uses: lycheeverse/[email protected] | |
# with: | |
# args: --config ./lychee.toml --verbose --no-progress . | |
# fail: true | |
e2e: | |
name: E2E Tests | |
needs: [validate] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run Playwright tests | |
run: pnpm test:e2e | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: playwright-report | |
path: apps/e2e/playwright-report/ | |
retention-days: 30 |