Skip to content

Commit

Permalink
ci: replace travis with github action
Browse files Browse the repository at this point in the history
  • Loading branch information
moranje committed Feb 18, 2020
1 parent bf1bddb commit fb00768
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
name: Run Test
name: Build

on: [push]

jobs:
test:
runs-on: macos-latest
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
node-version: [10, 12, 13]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test:prod

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

- name: Run test suite
run: npm run test:prod
env:
CI: true

- name: On success
run: npm run coverage
env:
CI: true
run: npm run semantic-release
env:
CI: true

0 comments on commit fb00768

Please sign in to comment.