Skip to content

[OBSDEF-46383] Show pagination options if at least 1 record is present #48

[OBSDEF-46383] Show pagination options if at least 1 record is present

[OBSDEF-46383] Show pagination options if at least 1 record is present #48

name: clarity-react CI - PR On Main - Pipeline
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Setup nodejs
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: setup configurations
run: |
git config --global user.email "[email protected]"
git config --global user.name "Mahesh Kulkarni"
npm config set @dellstorage:registry https://registry.npmjs.org/
- name: build dependencies
run: yarn
- name: lint
run: yarn run lint
- name: build clarity-react project
run: |
rm -rf "./dist"
yarn run build