chore(deps): bump @mui/x-tree-view from 7.18.0 to 7.19.0 #440
Workflow file for this run
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
################################################################## | |
# A Github action used to check pull requests | |
# More info at https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
################################################################## | |
name: Check the pull request automatically | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check-linting: | |
name: Checks for linting errors | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Setup Node JS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Cache dependencies | |
uses: actions/cache@v3.3.1 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Run linting | |
run: yarn lint | |
run-tests: | |
name: Runs all tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Setup Node JS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Cache dependencies | |
uses: actions/cache@v3.3.1 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Run all test cases | |
run: yarn test --maxWorkers=100% | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_SECRET }} | |
directory: ./coverage/ | |
flags: unittests | |
build: | |
name: Builds the app | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Setup Node JS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Cache dependencies | |
uses: actions/cache@v3.3.1 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Build the app | |
run: yarn build |