[OBSDEF-35531] [OBSDEF-44979] DataGrid enhancement for predefine page sizes and custom page sizes #35
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: 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 | |