Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 9f58f26

Browse files
authored
ci: migrate to gh actions (#402)
* ci: migrate to gh actions * ci: delete travis.yml
1 parent abe0e45 commit 9f58f26

File tree

2 files changed

+26
-31
lines changed

2 files changed

+26
-31
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 typecheck
20+
- run: yarn eslint
21+
- run: yarn build
22+
- run: yarn arn test -- --single-run --browsers ChromeHeadlessNoSandbox
23+
- run: 'bash <(curl -s https://codecov.io/bash)'
24+
- name: release
25+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
26+
run: yarn run semantic-release

.travis.yml

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

0 commit comments

Comments
 (0)