fix(Pagination): Fix the issue with page being 0 #1362
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_check | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.x ] | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- run: yarn install | |
- run: npm run init | |
- name: mock time | |
uses: szenius/set-timezone@v1.0 | |
with: | |
timezoneLinux: 'Asia/Singapore' | |
timezoneMacos: 'Asia/Singapore' | |
timezoneWindows: 'Singapore Standard Time' | |
- name: run test | |
run: yarn test |