Skip to content

Commit 17dc172

Browse files
Adding Github workflows
1 parent c091069 commit 17dc172

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
eslint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
- run: |
12+
yarn install
13+
yarn lint

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# vue-scroll-progress-bar
22

33
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/guillaumebriday)
4+
![](https://github.com/guillaumebriday/vue-scroll-progress-bar/workflows/Lint/badge.svg)
45
[![](https://img.shields.io/npm/dt/@guillaumebriday/vue-scroll-progress-bar.svg)](https://www.npmjs.com/package/@guillaumebriday/vue-scroll-progress-bar)
56
[![](https://img.shields.io/npm/v/@guillaumebriday/vue-scroll-progress-bar.svg)](https://www.npmjs.com/package/@guillaumebriday/vue-scroll-progress-bar)
67
[![](https://img.shields.io/github/license/guillaumebriday/vue-scroll-progress-bar.svg)](https://github.com/guillaumebriday/vue-scroll-progress-bar)
@@ -83,23 +84,23 @@ With :
8384

8485
## Develop
8586

86-
## Project setup
87+
### Project setup
8788
```bash
8889
$ yarn install
8990
$ yarn build
9091
```
9192

92-
## Open example app
93+
### Open example app
9394

9495
```bash
9596
$ cd example
9697
$ yarn
9798
$ yarn serve
9899
```
99100

100-
### Lints and fixes files
101+
### Lint files
101102
```bash
102-
$ yarn run lint
103+
$ yarn lint
103104
```
104105

105106
## Contributing

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build:umd": "rollup -c build/rollup.config.umd.js",
1313
"build": "yarn build:browser && yarn build:es && yarn build:umd",
1414
"prepublishOnly": "yarn build",
15-
"lint": "eslint --ext .js --ignore-path .gitignore build/ src/ --fix"
15+
"lint": "eslint --ext .js --ignore-path .gitignore build/ src/"
1616
},
1717
"dependencies": {},
1818
"devDependencies": {

0 commit comments

Comments
 (0)