Skip to content

Commit

Permalink
Replace Travis CI with GitHub Actions build/lint/test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
linusg committed Jun 14, 2020
1 parent 23d7346 commit b8dd132
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 8 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build for production

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
- name: Run production build
uses: borales/[email protected]
with:
cmd: build
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint code

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
- name: Lint JavaScript/Vue files
uses: borales/[email protected]
with:
cmd: lint:js
- name: Lint Markdown files
uses: borales/[email protected]
with:
cmd: lint:md
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run tests

on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
- name: Run unit tests
uses: borales/[email protected]
with:
cmd: test
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit b8dd132

Please sign in to comment.