Skip to content

Commit a6ee66c

Browse files
authored
chore: good bye travis, i will be living with GHA. (#80)
1 parent cd4f5eb commit a6ee66c

File tree

2 files changed

+33
-38
lines changed

2 files changed

+33
-38
lines changed

.github/workflows/ts.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Use Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '12.x'
19+
- name: Install dependencies
20+
run: yarn
21+
- name: Lint
22+
run: yarn lint
23+
- name: Typing
24+
run: yarn tsc
25+
env:
26+
CI: true
27+
- name: bundle
28+
run: yarn build
29+
- name: Deploy
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./public

.travis.yml

-38
This file was deleted.

0 commit comments

Comments
 (0)