Skip to content

Commit

Permalink
Remove dependencies status badge and use GitHub Actions (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell authored Sep 19, 2020
1 parent b494b7a commit ce94f66
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 95 deletions.
39 changes: 0 additions & 39 deletions .circleci/config.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests
on: [push]
jobs:
run:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '13.14'
- run: npm ci
- run: npm run type-check
- run: npm run lint
- run: npm run test
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: coverage/lcov.info
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

<p>
<a href="https://app.netlify.com/sites/alessia/deploys" title="Netlify Status"><img src="https://api.netlify.com/api/v1/badges/4245956d-8b21-4b31-a405-05ca5fa8799a/deploy-status"/></a>
<a href="https://circleci.com/gh/alessbell/aless.co/tree/main" title="CircleCI Build"><img src="https://circleci.com/gh/alessbell/aless.co.svg?style=shield"/></a>
<a href="https://github.com/alessbell/aless.co/actions?query=workflow%3ATests" title="Tests"><img src="https://github.com/alessbell/aless.co/workflows/Tests/badge.svg"/></a>
<a href="https://codecov.io/gh/alessbell/aless.co" title="Code Coverage"><img src="https://codecov.io/gh/alessbell/aless.co/branch/main/graph/badge.svg"/></a>
<a href="https://github.com/prettier/prettier" title="Prettier Code Formatting"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-round"/></a>
<a href="https://david-dm.org/alessbell/aless.co" title="Dependencies Status"><img src="https://david-dm.org/alessbell/aless.co/status.svg"/></a>
</p>

</div>
Expand Down

0 comments on commit ce94f66

Please sign in to comment.