Include Message.html
in JSON only when it's True
#1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web tests with jest | |
on: | |
push: | |
branches: | |
- main | |
- master | |
paths: | |
- '.github/workflows/**' | |
- 'src/web**' | |
- '!**/*.rst' | |
jobs: | |
jest_tests: | |
runs-on: 'ubuntu-latest' | |
name: Jest tests for the web components | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16" | |
- name: Run tests | |
working-directory: ./src/web | |
run: npm install && npm run test | |