ci: added action

This commit is contained in:
원더 2021-01-19 22:02:20 +09:00
parent d97f39cedd
commit 2283f57bce
2 changed files with 28 additions and 0 deletions

View File

@ -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:

View File

@ -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: