Skip to content

Commit 7ff16c6

Browse files
authored
chore: Clean up CI and release process (#80)
* remove semantic-release * replace travis with actions
1 parent 5072dcf commit 7ff16c6

File tree

3 files changed

+30
-20
lines changed

3 files changed

+30
-20
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [10.x, 12.x, 14.x, 15.x]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v2
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- name: Install dependencies
25+
run: npm ci
26+
- run: npm run build --if-present
27+
- run: npm test

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"name": "get-svg-colors",
3-
"version": "0.0.0",
3+
"version": "2.0.0",
44
"description": "Extract stroke and fill colors from SVG files",
55
"repository": "github:colorjs/get-svg-colors",
66
"main": "index.js",
77
"scripts": {
8-
"test": "mocha",
9-
"travis-deploy-once": "travis-deploy-once",
10-
"semantic-release": "semantic-release"
8+
"test": "mocha"
119
},
1210
"author": "",
1311
"license": "ISC",
@@ -19,8 +17,6 @@
1917
"lodash.uniq": "^4.5.0"
2018
},
2119
"devDependencies": {
22-
"mocha": "^6.0.0",
23-
"travis-deploy-once": "^5.0.9",
24-
"semantic-release": "^15.10.5"
20+
"mocha": "^6.0.0"
2521
}
2622
}

0 commit comments

Comments
 (0)