Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurk91 committed Jan 30, 2022
1 parent 5720d45 commit 4c82926
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ on:
branches:
- master
- dev
- 8.x
pull_request:
branches:
- master
- dev
- 8.x
schedule:
- cron: '0 0 11 * *'

Expand All @@ -31,19 +29,25 @@ jobs:
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6.23.0
version: 6.28.0

- name: Install dependencies
run: pnpm install --frozen-lockfile

- run: npm run test
- run: bash <(curl -s https://codecov.io/bash)
- name: Execute tests
run: npm run test

- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false

- run: npm run build
- run: npm run docs

- name: Deploy to gh-pages
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@4.1.8
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Vue.js component for [Flatpickr](https://flatpickr.js.org/) date-time picker.
| Vue.js version | Package version | Branch |
| :--- | :---: | ---: |
| 2.x | 8.x | [8.x](https://github.com/ankurk91/vue-flatpickr-component/tree/8.x) |
| 3.x | 9.x | master |
| 3.x | 9.x | `master` |

## Features

Expand All @@ -35,11 +35,7 @@ Vue.js component for [Flatpickr](https://flatpickr.js.org/) date-time picker.
## Installation

```bash
# yarn
yarn add vue-flatpickr-component

# npm
npm install vue-flatpickr-component
npm install vue-flatpickr-component@^9
```

## Usage
Expand Down

0 comments on commit 4c82926

Please sign in to comment.