|
11 | 11 | __FORCE_API_MD_UPDATE__: true |
12 | 12 | __FORCE_SNAPSHOT_UPDATE__: true |
13 | 13 | NX_VERBOSE_LOGGING: true |
14 | | - YARN_ENABLE_IMMUTABLE_INSTALLS: false |
15 | 14 |
|
16 | 15 | jobs: |
17 | 16 | check-tools: |
@@ -40,12 +39,31 @@ jobs: |
40 | 39 | # pre-build react-jsx-runtime - as generate-api executor doesn't provide copy assets capability |
41 | 40 | - run: yarn nx run react-jsx-runtime:build |
42 | 41 |
|
| 42 | + # Generators create/remove packages and modify the lockfile, so immutable installs must be disabled |
43 | 43 | - run: yarn nx g @fluentui/workspace-plugin:react-library --name hello-world --owner '@microsoft/fluentui-react-build' --kind standard --no-interactive |
| 44 | + env: |
| 45 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
44 | 46 | - run: yarn nx g @fluentui/workspace-plugin:react-component --project hello-world-preview --name Aiur --no-interactive |
| 47 | + env: |
| 48 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
45 | 49 | - run: yarn nx g @fluentui/workspace-plugin:cypress-component-configuration --project hello-world-preview --no-interactive |
| 50 | + env: |
| 51 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
46 | 52 | - run: yarn nx g @fluentui/workspace-plugin:bundle-size-configuration --project hello-world-preview --no-interactive |
| 53 | + env: |
| 54 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
47 | 55 | - run: yarn nx g @fluentui/workspace-plugin:prepare-initial-release --project hello-world-preview --phase=preview --no-interactive |
| 56 | + env: |
| 57 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
48 | 58 | - run: yarn nx g @fluentui/workspace-plugin:prepare-initial-release --project hello-world-preview --phase=stable --no-interactive |
| 59 | + env: |
| 60 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
49 | 61 | - run: yarn nx g @nx/workspace:remove --project hello-world --forceRemove --no-interactive |
| 62 | + env: |
| 63 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
50 | 64 | - run: yarn nx g @nx/workspace:remove --project hello-world-stories --forceRemove --no-interactive |
| 65 | + env: |
| 66 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
51 | 67 | - run: yarn nx g @fluentui/workspace-plugin:tsconfig-base-all --no-interactive |
| 68 | + env: |
| 69 | + YARN_ENABLE_IMMUTABLE_INSTALLS: false |
0 commit comments