Skip to content

Commit e37b255

Browse files
committed
🔥 remove circleci deps
:add: github actions
1 parent c6b685e commit e37b255

File tree

3 files changed

+40
-27
lines changed

3 files changed

+40
-27
lines changed

.circleci/config.yml

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

.github/workflows/coveralls.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Coveralls
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
- develop
7+
push:
8+
branches:
9+
- master
10+
- develop
11+
jobs:
12+
install-and-coveralls:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@master
18+
19+
- name: Cache node modules
20+
uses: actions/cache@v1
21+
with:
22+
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
23+
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
24+
restore-keys: |
25+
${{ runner.os }}-build-${{ env.cache-name }}-
26+
${{ runner.os }}-build-
27+
${{ runner.os }}-
28+
29+
- name: install
30+
run: yarn --network-timeout 600000
31+
32+
- name: yarn add coveralls
33+
run: |
34+
yarn add -D coveralls
35+
yarn run test --coverage && cat ./coverage/lcov.info
36+
37+
- name: Coveralls
38+
uses: coverallsapp/github-action@master
39+
with:
40+
github-token: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"devDependencies": {
4343
"@types/jest": "^24.0.24",
4444
"babel-eslint": "^10.0.3",
45-
"coveralls": "^3.0.9",
4645
"eslint": "^5.16.0",
4746
"eslint-config-2o3t": "^1.1.17",
4847
"husky": "^3.1.0",

0 commit comments

Comments
 (0)