diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..f07d1741 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Run tests + +on: push + +jobs: + tests: + name: Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: volta-cli/action@v3 + with: + registry-url: https://registry.npmjs.org + - name: Install Dependencies + run: yarn + - name: Prepack + run: yarn prepack + - name: Lint + run: yarn lint + - name: Test + run: yarn test diff --git a/README.md b/README.md index 905394d2..ee43659e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Interactors -[![CircleCI](https://circleci.com/gh/thefrontside/interactors.svg?style=shield)](https://circleci.com/gh/thefrontside/interactors) +[![Github Actions](https://github.com/thefrontside/interactors/actions/workflows/test.yml/badge.svg)](https://github.com/thefrontside/interactors/actions/workflows/test.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Created by Frontside](https://img.shields.io/badge/created%20by-frontside-26abe8.svg)](https://frontside.com) [![Chat on Discord](https://img.shields.io/discord/700803887132704931?Label=Discord)](https://discord.gg/mv4uxxcAKd)