#6964 - update muimaterial to v9 v931 #21970
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
| # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 'release/**' | |
| pull_request: | |
| branches: | |
| - master | |
| - 'release/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [24.20.0] | |
| # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Get npm cache directory path | |
| id: npm-cache-dir-path | |
| run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v6 | |
| id: npm-cache # use this to check for `cache-hit` (`steps.npm-cache.outputs.cache-hit != 'true'`) | |
| with: | |
| path: ${{ steps.npm-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-npm- | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Run audit | |
| run: npm audit --all --audit-level=critical | |
| - name: Run build | |
| run: npx cross-env CI=false npm run build | |
| - name: Run tests | |
| run: npm test | |
| env: | |
| CI: true | |
| - name: Run build example-ssr | |
| run: npm run build | |
| working-directory: example-ssr | |
| - name: Run lint example-ssr | |
| run: npm run lint | |
| working-directory: example-ssr | |
| - name: Run test example-ssr | |
| run: npm run test:types | |
| working-directory: example-ssr |