mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-04 19:13:03 +03:00
Add tests
This commit is contained in:
parent
9db3fb2a6b
commit
66589f9e62
28
.github/workflows/publish.yml
vendored
28
.github/workflows/publish.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
npm-${{ hashFiles('package-lock.json') }}
|
npm-${{ hashFiles('package-lock.json') }}
|
||||||
npm-
|
npm-
|
||||||
|
|
||||||
- name: CI
|
- name: Clean Install
|
||||||
run: npm ci && npm ci --prefix cli
|
run: npm ci && npm ci --prefix cli
|
||||||
|
|
||||||
- name: Bundle
|
- name: Bundle
|
||||||
|
@ -45,11 +45,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# - name: CI
|
- name: Clean Install
|
||||||
# run: npm ci && npm ci --prefix cli
|
run: npm ci && npm ci --prefix cli
|
||||||
|
|
||||||
# - name: Unit Test
|
- name: Unit Test
|
||||||
# run: npm test
|
run: npm test
|
||||||
|
|
||||||
e2e-tests:
|
e2e-tests:
|
||||||
name: E2E Tests
|
name: E2E Tests
|
||||||
|
@ -59,17 +59,17 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# - name: CI
|
- name: Clean Install
|
||||||
# run: npm ci && npm ci --prefix cli
|
run: npm ci && npm ci --prefix cli
|
||||||
|
|
||||||
# - name: Download bundled artifact
|
- name: Download bundled artifact
|
||||||
# uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
# with:
|
with:
|
||||||
# name: bundles
|
name: bundles
|
||||||
# path: bundles
|
path: bundles
|
||||||
|
|
||||||
# - name: E2E Test
|
- name: E2E Test
|
||||||
# run: npm run e2e
|
run: npm run e2e
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish
|
name: Publish
|
||||||
|
|
Loading…
Reference in New Issue
Block a user