@@ -30,47 +30,41 @@ jobs:
30
30
with :
31
31
node-version : 18
32
32
cache : ' pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
33
-
34
- -
run :
npm install -g [email protected]
35
- - run : npm -v
36
-
33
+ - run : npm install -g npm@latest
37
34
- run : pnpm install:codesandbox
38
-
39
35
- run : pnpm build:codesandbox
40
-
41
- - run : pnpm dlx pkg-pr-new 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/*' --comment=off
36
+ - run : pnpm dlx pkg-pr-new@https://67aeec03.stackblitz-cr.pages.dev/stackblitz-labs/pkg.pr.new/pkg-pr-new@156 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/*' --comment=off
42
37
43
38
# Tests dev-only scripts across all supported dev environments
44
- # test-dev:
45
- # # l10nbot does not affect dev scripts.
46
- # if: ${{ github.actor != 'l10nbot' }}
47
- # runs-on: ${{ matrix.os }}
48
- # strategy:
49
- # matrix:
50
- # os: [ubuntu-latest]
51
- # steps:
52
- # - run: echo "${{ github.actor }}"
53
- # - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
54
- # with:
55
- # # fetch all tags which are required for `pnpm release:changelog`
56
- # fetch-depth: 0
57
- # - name: Set up pnpm
58
- # uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
59
- # - name: Use Node.js 18.x
60
- # uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
61
- # with:
62
- # node-version: 18
63
- # cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
64
- # - run: pnpm install
65
- # - run: pnpm build:ci
66
- # env:
67
- # NODE_OPTIONS: --max_old_space_size=4096
68
-
69
- # - run: pnpm release:changelog
70
- # env:
71
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72
- # - run: pnpm validate-declarations
73
- # - name: pnpm release:tag
74
- # run: |
75
- # git remote -v
76
- # pnpm release:tag --dryRun
39
+ test-dev :
40
+ # l10nbot does not affect dev scripts.
41
+ if : ${{ github.actor != 'l10nbot' }}
42
+ runs-on : ${{ matrix.os }}
43
+ strategy :
44
+ matrix :
45
+ os : [macos-latest, windows-latest, ubuntu-latest]
46
+ steps :
47
+ - run : echo "${{ github.actor }}"
48
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
49
+ with :
50
+ # fetch all tags which are required for `pnpm release:changelog`
51
+ fetch-depth : 0
52
+ - name : Set up pnpm
53
+ uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
54
+ - name : Use Node.js 18.x
55
+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
56
+ with :
57
+ node-version : 18
58
+ cache : ' pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
59
+ - run : pnpm install
60
+ - run : pnpm build:ci
61
+ env :
62
+ NODE_OPTIONS : --max_old_space_size=4096
63
+ - run : pnpm release:changelog
64
+ env :
65
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66
+ - run : pnpm validate-declarations
67
+ - name : pnpm release:tag
68
+ run : |
69
+ git remote -v
70
+ pnpm release:tag --dryRun
0 commit comments