[fix] Remove table pagination when there's not enough data #48
Workflow file for this run
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: 'PR Checks' | |
on: [pull_request] | |
jobs: | |
pr-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install | |
run: yarn install | |
- name: Add models | |
run: | | |
echo "[]" > mock-apis/data/model.json | |
echo "{ \"accounts\": [], \"regions\": [], \"kinds\": [], \"severity\": [] }" > mock-apis/data/search-start.json | |
echo "[]" > mock-apis/data/table.json | |
echo "[]" > mock-apis/data/tags.json | |
- name: Run tests | |
run: yarn test | |
- name: Run Lint | |
run: yarn lint | |
- name: Run Lint TSC | |
run: yarn lint:tsc | |
- name: Run check prettier | |
run: yarn format:check | |
- name: Run Build | |
run: yarn build |