Fix: click events not fired into new PR page #77
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
| on: | |
| pull_request: | |
| jobs: | |
| install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR | |
| uses: actions/checkout@v4 | |
| - name: 📥 Setup | |
| uses: ./.github/actions/setup-job | |
| - name: 📥 Monorepo install | |
| uses: ./.github/actions/pnpm-install | |
| build: | |
| name: build-core | |
| needs: install | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR | |
| uses: actions/checkout@v4 | |
| - name: 📥 Setup | |
| uses: ./.github/actions/setup-job | |
| - name: 📥 Monorepo install | |
| uses: ./.github/actions/pnpm-install | |
| - name: Build | |
| run: | | |
| pnpm build:core-libs | |
| - name: Cache packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ./markdown-schema/dist | |
| ./markdown-transformer/dist | |
| key: packages-dist-${{ github.run_id }}-${{ github.run_number }} | |
| test: | |
| name: test | |
| needs: [ install, build ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR | |
| uses: actions/checkout@v4 | |
| - name: 📥 Setup | |
| uses: ./.github/actions/setup-job | |
| - name: 📥 Monorepo install | |
| uses: ./.github/actions/pnpm-install | |
| - name: Restore dist | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ./markdown-schema/dist | |
| ./markdown-transformer/dist | |
| key: packages-dist-${{ github.run_id }}-${{ github.run_number }} | |
| - name: Tests | |
| run: | | |
| pnpm --filter ./markdown-schema --filter ./ run test | |
| concurrency: | |
| group: main-${{ github.head_ref }} | |
| cancel-in-progress: true |