Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
chore: migrate to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Nov 13, 2019
1 parent 71b2bcd commit 31012c6
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 66 deletions.
66 changes: 0 additions & 66 deletions .circleci/config.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on: [push]

jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Use Node.js 10
uses: actions/setup-node@v1
with:
node-version: 10

- name: Cache dependencies
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-${{ env.cache-name }}-
${{ runner.OS }}-yarn-
${{ runner.OS }}-
- name: Install dependencies
run: |
yarn --frozen-lockfile
- name: Lint files
run: |
yarn lint
- name: Typecheck files
run: |
yarn typescript
- name: Run unit tests
run: |
yarn test --coverage
- name: Build packages
run: |
yarn lerna run prepare

0 comments on commit 31012c6

Please sign in to comment.