Skip to content

Commit 814f186

Browse files
authored
ci: migrate to GitHub actions (#197)
1 parent 943e2a7 commit 814f186

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
FORCE_COLOR: 3
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Use Node.js
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: '14.7.0'
17+
- run: yarn --frozen-lockfile
18+
- run: yarn prettier-check
19+
- run: yarn tslint
20+
- run: yarn typecheck
21+
- run: yarn build
22+
- run: yarn cover
23+
- run: yarn nyc report --reporter json
24+
- run: 'bash <(curl -s https://codecov.io/bash)'

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sourcegraph-git-extras
22

3-
[![build](https://travis-ci.org/sourcegraph/sourcegraph-git-extras.svg?branch=master)](https://travis-ci.org/sourcegraph/sourcegraph-git-extras)
3+
[![master build status](https://img.shields.io/github/workflow/status/sourcegraph/sourcegraph-git-extras/build/master?logo=github)](https://github.com/sourcegraph/sourcegraph-git-extras/actions?query=branch%3Amaster)
44
[![codecov](https://codecov.io/gh/sourcegraph/sourcegraph-git-extras/branch/master/graph/badge.svg?token=c3KpMf1MaY)](https://codecov.io/gh/sourcegraph/sourcegraph-git-extras)
55
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
66

0 commit comments

Comments
 (0)