Skip to content

fix(POR-22667): handle platform question validation errors in notific… #6769

fix(POR-22667): handle platform question validation errors in notific…

fix(POR-22667): handle platform question validation errors in notific… #6769

Workflow file for this run

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