From e4920ec04afde48239ccafdc6012709b19a8aec2 Mon Sep 17 00:00:00 2001 From: Dmitriy Lazarev Date: Fri, 10 Nov 2023 17:35:17 +0400 Subject: [PATCH] Migrate circle ci to github actions Signed-off-by: Dmitriy Lazarev --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ README.md | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml 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)