Ref: CI Check for Replay Stubs #3
Workflow file for this run
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: Check Replay Stubs | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/core/android/libs/replay-stubs.jar' | |
| jobs: | |
| check-replay-stubs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '20' | |
| - run: npm i -g corepack | |
| - name: Install Danger | |
| run: | | |
| yarn install | |
| yarn add --save-dev danger | |
| - name: Check Replay Stubs | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: npx danger ci --dangerfile scripts/check-replay-stubs.js |