Skip to content

Commit

Permalink
chore: use github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmarrec committed Jan 10, 2020
1 parent 25d9813 commit f959f73
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- uses: actions/cache@v1
id: cache
with:
path: "node_modules"
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn

- name: Run tests
run: yarn test

- name: Coverage
run: yarn codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit f959f73

Please sign in to comment.