Skip to content

Commit

Permalink
Merge pull request #311 from styled-components/gh-actions
Browse files Browse the repository at this point in the history
switch to github actions
  • Loading branch information
quantizor authored Nov 20, 2020
2 parents 4b11834 + 52a1543 commit 8537e1d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["10", "12", "14"]
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install modules
run: yarn

- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: Run tests
run: yarn test
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 8537e1d

Please sign in to comment.