diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 9160059..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -service_name: travis-ci diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1845533 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '24' + - name: Install dependencies + run: npm install + - name: Run tests + run: npm test + - name: Publish coverage to Coveralls + uses: coverallsapp/github-action@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + file: ./jest-coverage/lcov.info diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0d72860..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: node_js -node_js: - - '10' -before_script: - - rm package-lock.json -script: - - npm install - - npm install coveralls --save-dev - - npm test -after_success: - - cat ./jest-coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v -notifications: - on_success: never - on_failure: always diff --git a/README.md b/README.md index 1962719..9dc97e1 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,8 @@

Github Contribution Stats

Get your dynamically generated Github Contribution Stats! :chart_with_upwards_trend: :calendar:

- - - - - + +