Skip to content

Commit

Permalink
👷 setup GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Petetot committed Nov 13, 2019
1 parent 5e3d5b8 commit 1a1fa7e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test and lint

on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10]

steps:
- name: Checkout project
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Unit tests
run: yarn test
- name: End to end tests
run: |
git config --global user.email "[email protected]"
git config --global user.name "Test gitmoji"
yarn test:e2e
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 1a1fa7e

Please sign in to comment.