Skip to content

Commit

Permalink
add push workflow and delete travis
Browse files Browse the repository at this point in the history
  • Loading branch information
omeraplak committed Oct 7, 2020
1 parent 81c5272 commit 0531c3a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 14 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build & Test on Push

on: push

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install & build
run: |
npm install
npm build
env:
CI: true
NODE_ENV: development
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.TEST_REPORTER_ID }}
with:
coverageCommand: npm run test
debug: true
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 0531c3a

Please sign in to comment.