Skip to content

Commit

Permalink
Add support for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotorres97 committed Sep 17, 2021
1 parent 447b501 commit 459de47
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests

on: [push]

jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '8', '12', '14' ]

container:
image: node:${{ matrix.node }}-alpine

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
echo "::group::Install project dependencies"
yarn install --frozen-lockfile
echo "::endgroup::"
- run: yarn lint
- run: yarn test
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 459de47

Please sign in to comment.