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

Commit

Permalink
Add CI workflow to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Sep 16, 2019
1 parent 4551c7e commit 54b2091
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 45 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,38 @@
name: CI
on: [push]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: yarn install --frozen-lockfile
- run: yarn run build
check:
name: Lint and Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: yarn install --frozen-lockfile
- run: yarn run check
- run: yarn run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: yarn install --frozen-lockfile
- run: yarn run coverage
- run: yarn run codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
45 changes: 0 additions & 45 deletions .sail.yml

This file was deleted.

0 comments on commit 54b2091

Please sign in to comment.