Read workspace scripts from package.json files
          
            #20
        
      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: Run tests on PRs | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up everything | |
| uses: ./.github/workflows/set-up-everything | |
| # Yarn constraints are kinda like tests. | |
| - name: Check Yarn constraints | |
| run: yarn constraints | |
| # TODO: Maybe write up a job summary per https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary | |
| - name: Run tests | |
| run: yarn test | |
| # TODO: Annotations of test files that fail? | |
| # TODO: Maybe write up a job summary per https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary |