Skip to content

Commit

Permalink
Switch to github actions from circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
prawnsalad committed Mar 15, 2020
1 parent f53d71a commit a823007
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .circleci/config.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn test
- run: yarn lint

0 comments on commit a823007

Please sign in to comment.