Redesign the playground UI #45
Workflow file for this run
This file contains hidden or 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: tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [ 16.x, 18.14.2, 20.x ] | |
| environment: [ jest5, jest6, jest7, joy_build, base_build, core_build, mui5_build, mui6_build, mui7_build ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| - name: Install Tox | |
| run: | | |
| pip install --upgrade pip | |
| pip install tox tox-gh-actions | |
| - name: Set up Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Build and Package | |
| run: | | |
| npm install | |
| npm run build | |
| npm pack | |
| - name: Run Tox Jest | |
| run: tox -e ${{ matrix.environment }} |