Skip to content

update

update #18

Workflow file for this run

name: CI
on:
push:
branches-ignore:
# Renovate branches are always Pull Requests.
# We don't need to run CI twice (push+pull_request)
- 'renovate/**'
pull_request:
paths-ignore:
# should sync with ci-check.yml as a workaround to bypass github checks
- 'docs/**'
- 'examples/**'
permissions: {}
jobs:
continuous-releases:
runs-on: ubuntu-latest
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# fetch all tags which are required for `pnpm release:changelog`
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- name: Use Node.js 18.x
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 18
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
- run: pnpm install:codesandbox
- run: pnpm build:codesandbox
- run: pnpm dlx pkg-pr-new@https://21a4e54f.stackblitz-cr.pages.dev/stackblitz-labs/pkg.pr.new/pkg-pr-new@154 publish 'packages/mui-{base,codemod,core-downloads-tracker,docs,icons-material,lab,material-nextjs,material,private-theming,styled-engine,styled-engine-sc,styles,system,types,utils}/build' 'packages-internal/{test-utils,docs-utils,scripts}' 'packages/{mui-babel-macros,markdown}' --template './examples/*' --pnpm --comment=off
# Tests dev-only scripts across all supported dev environments
# test-dev:
# # l10nbot does not affect dev scripts.
# if: ${{ github.actor != 'l10nbot' }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest]
# steps:
# - run: echo "${{ github.actor }}"
# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# with:
# # fetch all tags which are required for `pnpm release:changelog`
# fetch-depth: 0
# - name: Set up pnpm
# uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
# - name: Use Node.js 18.x
# uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
# with:
# node-version: 18
# cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
# - run: pnpm install
# - run: pnpm build:ci
# env:
# NODE_OPTIONS: --max_old_space_size=4096
# - run: pnpm release:changelog
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - run: pnpm validate-declarations
# - name: pnpm release:tag
# run: |
# git remote -v
# pnpm release:tag --dryRun