Skip to content

Commit

Permalink
Use GitHub actions (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Nov 5, 2020
1 parent c35b51e commit 598eeb1
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ insert_final_newline = true
indent_style = space
charset = utf-8
indent_size = 2

[*.yml]
indent_style = space
charset = utf-8
indent_size = 2
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Continuous Integration

on:
- pull_request
- push

jobs:
ci:
name: Continuous integration
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2-beta
with:
node-version: "15"
- name: Install dependencies
run: yarn install
- name: Check build
run: yarn build
- name: Check coding standards
run: yarn lint
- name: Run tests
run: yarn test
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ language: node_js
node_js:
- 'lts/*'

if: tag IS present

cache: yarn

script:
Expand Down

0 comments on commit 598eeb1

Please sign in to comment.