when clicking a range, dont select dates that go beyond the min and m… #38
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: Daterangepicker Material CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: browser-actions/setup-chrome@latest | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14.x' | |
- name: Install dependencies | |
run: npm ci | |
- name: Test | |
run: | | |
export DISPLAY=:99 | |
chromedriver --url-base=/wd/hub & | |
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional | |
npm test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14.x' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build demo | |
run: npx ng deploy --base-href=/ngx-daterangepicker-material/ --repo=https://github.com/fetrarij/ngx-daterangepicker-material.git | |
env: | |
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} |