Skip to content

Commit 6ae4820

Browse files
authored
chore: migrate CI from travis-ci.org to github-action (xitu#110)
1 parent cd62287 commit 6ae4820

File tree

4 files changed

+24
-35
lines changed

4 files changed

+24
-35
lines changed

.github/workflows/CI.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build and Deploy
2+
on: [pull_request]
3+
4+
jobs:
5+
build-and-deploy:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
- name: Install and Build
12+
uses: actions/setup-node@v2
13+
run: |
14+
yarn install
15+
yarn build
16+
- name: Deploy
17+
uses: JamesIves/[email protected]
18+
with:
19+
branch: master
20+
folder: build

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,7 @@ yarn-error.log
6868
.pnp.js
6969
# Yarn Integrity file
7070
.yarn-integrity
71+
72+
# IDE files
73+
.idea/
74+
*.iml

.travis.yml

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

resources/publish.sh

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

0 commit comments

Comments
 (0)