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: