Skip to content

Commit 3ebf02a

Browse files
committed
remove travis, add github actions
1 parent f2fd190 commit 3ebf02a

File tree

4 files changed

+16938
-60
lines changed

4 files changed

+16938
-60
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: ci
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ubuntu-20.04
6+
steps:
7+
- name: Checkout 🛎
8+
uses: actions/checkout@v2
9+
10+
- name: Run tests 🧪
11+
# https://github.com/cypress-io/github-action
12+
uses: cypress-io/github-action@v2
13+
with:
14+
build: npm test
15+
16+
- name: Semantic Release 🚀
17+
uses: cycjimmy/semantic-release-action@v2
18+
with:
19+
branch: master
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
registry=http://registry.npmjs.org/
1+
registry=https://registry.npmjs.org/
22
save-exact=true
33
progress=false
44
package-lock=true

.travis.yml

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

0 commit comments

Comments
 (0)