Skip to content

Commit 0531c3a

Browse files
committed
add push workflow and delete travis
1 parent 81c5272 commit 0531c3a

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

.github/workflows/push.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build & Test on Push
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [12.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install & build
21+
run: |
22+
npm install
23+
npm build
24+
env:
25+
CI: true
26+
NODE_ENV: development
27+
- name: Test & publish code coverage
28+
uses: paambaati/codeclimate-action@v2.6.0
29+
env:
30+
CC_TEST_REPORTER_ID: ${{ secrets.TEST_REPORTER_ID }}
31+
with:
32+
coverageCommand: npm run test
33+
debug: true

.travis.yml

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

0 commit comments

Comments
 (0)