INE-951 | Delete Applicant (Scramble PII) #1150
This file contains 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: API PR Checks | |
on: | |
pull_request: | |
paths: | |
- 'apps/api/**' | |
- 'packages/common/**' | |
jobs: | |
pr-checks: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup node v18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: actions/cache@v4 | |
name: Cache yarn | |
with: | |
path: ./.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} | |
restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} | |
- name: Install dependencies | |
run: yarn workspace @ien/api install | |
- name: Run formatting check | |
run: yarn format:check | |
- name: Build dependencies | |
run: yarn build-common | |
- name: Lint API Package | |
run: yarn workspace @ien/api lint | |
- name: Unit test API Package | |
run: yarn workspace @ien/api test | |
- name: Integration test API Package | |
run: make api-integration-test |