Files
chatbot-ui/.github/workflows/run-test-suite.yml
T
Thomas LÉVEIL b0c289f7a4 fix import (#242)
* 🐛 fix import (#224)

* 🐛 fix import of corrupted history

see https://github.com/mckaywrigley/chatbot-ui/issues/224#issuecomment-1486080888

* add the run-test-suite github action
2023-03-28 02:27:37 -06:00

31 lines
523 B
YAML

name: Run Jest Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
container:
image: node:16
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Run Jest Test Suite
run: npm test
- name: Publish Test Report
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test-results/**/results.xml