mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: add UT to CI
This commit is contained in:
parent
11942789b8
commit
26db4e8259
1 changed files with 7 additions and 3 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
|
||||
- name: Cache deps
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v1
|
||||
id: yarn-cache
|
||||
with:
|
||||
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- name: Install deps
|
||||
- name: Install Dependencies
|
||||
env:
|
||||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
|
||||
run: |
|
||||
|
|
@ -48,7 +48,11 @@ jobs:
|
|||
run: |
|
||||
make build
|
||||
|
||||
- name: Test
|
||||
- name: Unit Test
|
||||
run: |
|
||||
yarn jest src
|
||||
|
||||
- name: E2E Test
|
||||
uses: mujo-code/puppeteer-headful@master
|
||||
env:
|
||||
CI: 'true'
|
||||
|
|
|
|||
Loading…
Reference in a new issue