Skip to content

Commit

Permalink
up: moves ci to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wbotelhos committed Apr 24, 2022
1 parent a6d52f1 commit eafacf1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 11 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI
on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Versions
run: |
node -v
google-chrome --version
chromedriver -v
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
id: yarn-cache

with:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

restore-keys: |
${{ runner.os }}-yarn-
- name: Yarn install
run: yarn --frozen-lockfile

- name: Yarn test
uses: GabrielBB/[email protected]

with:
run: yarn test
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit eafacf1

Please sign in to comment.