Update material-ui monorepo to v7.3.6 #1627
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: CI | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install Node.js dependencies | |
| run: yarn install --mode=skip-build | |
| - name: Generate Prisma Client | |
| run: yarn prisma generate | |
| - name: yarn lint | |
| run: | | |
| yarn lint | |
| # test: | |
| # name: Node.js ubuntu-latest 20.x | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Check out Git repository | |
| # uses: actions/checkout@v3 | |
| # - name: Set up Node.js | |
| # uses: actions/setup-node@v3 | |
| # with: | |
| # node-version: 20 | |
| # - name: before cache | |
| # run: | | |
| # mkdir -p node_modules | |
| # ls node_modules | |
| # - name: Get yarn cache directory path | |
| # id: yarn-cache-dir-path | |
| # run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | |
| # - name: Cache/Restore node_modules | |
| # id: cache-dependencies | |
| # uses: actions/cache@v3 | |
| # with: | |
| # path: node_modules | |
| # key: ${{ runner.OS }}-node_modules-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} | |
| # - name: Get yarn cache dir | |
| # if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
| # id: cache-yarn | |
| # run: echo "::set-output name=dir::$(yarn cache dir)" | |
| # - name: Cache/Restore yarn cache | |
| # if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
| # uses: actions/cache@v3 | |
| # with: | |
| # path: ${{ steps.cache-yarn.outputs.dir }} | |
| # key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} | |
| # restore-keys: | | |
| # ${{ runner.os }}-yarn-${{ matrix.node-version }}- | |
| # # ESLint and Prettier must be in `package.json` | |
| # - name: Install Node.js dependencies | |
| # if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
| # run: yarn | |
| # - name: yarn test | |
| # run: | | |
| # yarn test | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install Node.js dependencies | |
| run: yarn install --mode=skip-build | |
| - name: Generate Prisma Client | |
| run: yarn prisma generate | |
| - name: Create .env | |
| shell: bash | |
| run: | | |
| printf "DATABASE_URL=\"%s\"\OPENAI_API_KEY=\"%s\"\n" \ | |
| "${{ secrets.DATABASE_URL_FOR_MIGRATION }}" \ | |
| "${{ secrets.OPENAI_API_KEY }}" > .env | |
| - name: yarn build | |
| run: | | |
| yarn build |