Skip to content

Commit

Permalink
ci: migrate from CircleCI to Github Actions (#229)
Browse files Browse the repository at this point in the history
* ci: add github actions workflow (#226)

* ci: add github actions workflow

* ci: remove circleci config

* fix: fix typo

* ci: rename job

* ci: edit ci file
  • Loading branch information
kevinmarrec committed Dec 4, 2019
1 parent 31108af commit 5e98795
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 5e98795

Please sign in to comment.