Skip to content

Commit a447cd3

Browse files
authored
Merge pull request #122 from setaman/configure-github-actions [ci skip]
Configure GitHub actions
2 parents 2c76068 + d652e3c commit a447cd3

File tree

5 files changed

+1217
-30
lines changed

5 files changed

+1217
-30
lines changed

.github/workflows/build.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
- v2-dev
9+
- configure-github-actions
10+
pull_request:
11+
branches:
12+
- master
13+
- dev
14+
- v2-dev
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: actions/setup-node@v2
22+
with:
23+
node-version: 14.16
24+
- run: git branch
25+
- run: npm ci
26+
- run: npm run build
27+
28+
lint:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: actions/setup-node@v2
33+
with:
34+
node-version: 14.16
35+
- run: git branch
36+
- run: npm ci
37+
- run: npm run lint
38+
39+
test:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v2
43+
- uses: actions/setup-node@v2
44+
with:
45+
node-version: 14.16
46+
- run: npm ci
47+
- run: npm run test

.travis.yml

-23
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
![npm (tag)](https://img.shields.io/npm/v/vue-ellipse-progress/beta?color=yellow&label=NPM&style=for-the-badge)
33
![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/setaman/vue-ellipse-progress?style=for-the-badge)
44
![GitHub](https://img.shields.io/github/license/setaman/vue-ellipse-progress?style=for-the-badge)
5-
![Travis (.org)](https://img.shields.io/travis/setaman/vue-ellipse-progress?style=for-the-badge)
5+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/setaman/vue-ellipse-progress/build?style=for-the-badge)](https://github.com/setaman/vue-ellipse-progress/actions/workflows/build.yml)
66

77
A dependency-free simple, flexible and smooth Vue.js plugin to create beautiful circle progress bars, implemented with SVG.
88
Start creating circles in three steps:

0 commit comments

Comments
 (0)