From 2283f57bcea6268e7465c1c5948abc9a13adf18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Tue, 19 Jan 2021 22:02:20 +0900 Subject: [PATCH] ci: added action --- .github/workflows/deploy.yml | 14 ++++++++++++++ .github/workflows/testing.yml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index faf6d4d..25de887 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,6 +20,19 @@ jobs: run: yarn lint env: CI: true + test: + name: Run Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: install node v14 + uses: actions/setup-node@v1 + with: + node-version: 14 + - name: yarn install + run: yarn install + - name: run jest + run: yarn test build: name: Build runs-on: ubuntu-latest @@ -45,6 +58,7 @@ jobs: needs: - eslint - build + - test name: Docker Image CI runs-on: ubuntu-latest steps: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 85be297..e4e60e9 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -17,6 +17,19 @@ jobs: run: yarn lint env: CI: true + test: + name: Run Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: install node v14 + uses: actions/setup-node@v1 + with: + node-version: 14 + - name: yarn install + run: yarn install + - name: run jest + run: yarn test build: name: Build runs-on: ubuntu-latest @@ -48,6 +61,7 @@ jobs: needs: - eslint - build + - test name: Docker Image CI runs-on: ubuntu-latest steps: