OUT-4093 | Stop reading localStorage in the assignee cache (#1434) #6773
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: Lint and Test | |
| on: push | |
| jobs: | |
| run-linters: | |
| name: Run linters and tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| # Read from .nvmrc (20.19.1) so CI matches local dev. The previous hardcoded | |
| # 20.18.0 was below testcontainers' undici requirement (node >=20.18.1). | |
| node-version-file: '.nvmrc' | |
| cache: yarn | |
| cache-dependency-path: './yarn.lock' | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Patch stylish.js to not cause lint issues with Next 14.1.* | |
| run: yarn lint:fix-stylish | |
| - name: Run linters | |
| run: yarn lint:check && yarn prettier:check | |
| # Scoped to src/jobs because pre-existing tests under src/app/api/tests have ESM | |
| # import issues with the `retry` package that aren't fixable without broader changes. | |
| # Broaden this once those are resolved. | |
| - name: Run tests | |
| run: yarn test src/jobs |