Skip to content

Commit 479d2cd

Browse files
committed
chore: restore workflows
1 parent f70ade7 commit 479d2cd

11 files changed

Lines changed: 14 additions & 60 deletions

.github/workflows/bundle-size-base.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ env:
1616

1717
BROWSERSLIST_IGNORE_OLD_DATA: true
1818

19-
# Use project-local cache to avoid stale global Berry cache on CI
20-
# where workspace packages may collide with published npm versions
21-
YARN_ENABLE_GLOBAL_CACHE: false
22-
2319
jobs:
2420
bundle-size-base:
2521
if: ${{ github.repository_owner == 'microsoft' }}

.github/workflows/bundle-size.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,10 @@ env:
1414

1515
BROWSERSLIST_IGNORE_OLD_DATA: true
1616

17-
# Use project-local cache to avoid stale global Berry cache on CI
18-
# where workspace packages may collide with published npm versions
19-
YARN_ENABLE_GLOBAL_CACHE: false
20-
2117
jobs:
2218
bundle-size:
23-
# if: ${{ github.repository_owner == 'microsoft' }}
24-
# runs-on: macos-14-xlarge
25-
runs-on: ubuntu-latest
19+
if: ${{ github.repository_owner == 'microsoft' }}
20+
runs-on: macos-14-xlarge
2621
permissions:
2722
contents: 'read'
2823
actions: 'read'

.github/workflows/check-packages.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@ name: Check packages
22
on:
33
pull_request:
44

5-
# Use project-local cache to avoid stale global Berry cache on CI
6-
# where workspace packages may collide with published npm versions
7-
env:
8-
YARN_ENABLE_GLOBAL_CACHE: false
9-
105
jobs:
116
dependency-deduplication:
127
runs-on: ubuntu-latest
13-
# if: ${{ github.repository_owner == 'microsoft' }}
8+
if: ${{ github.repository_owner == 'microsoft' }}
149
steps:
1510
- uses: actions/checkout@v6
1611
with:
@@ -45,7 +40,7 @@ jobs:
4540
4641
dependency-mismatches:
4742
runs-on: ubuntu-latest
48-
# if: ${{ github.repository_owner == 'microsoft' }}
43+
if: ${{ github.repository_owner == 'microsoft' }}
4944
steps:
5045
- uses: actions/checkout@v6
5146
with:
@@ -72,7 +67,7 @@ jobs:
7267
7368
change-files:
7469
runs-on: ubuntu-latest
75-
# if: ${{ github.repository_owner == 'microsoft' }}
70+
if: ${{ github.repository_owner == 'microsoft' }}
7671
steps:
7772
- uses: actions/checkout@v6
7873
with:

.github/workflows/check-tooling.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ env:
1111
__FORCE_API_MD_UPDATE__: true
1212
__FORCE_SNAPSHOT_UPDATE__: true
1313
NX_VERBOSE_LOGGING: true
14-
YARN_ENABLE_IMMUTABLE_INSTALLS: false
1514

1615
jobs:
1716
check-tools:
18-
# if: ${{ github.repository_owner == 'microsoft' }}
17+
if: ${{ github.repository_owner == 'microsoft' }}
1918
strategy:
2019
matrix:
2120
os: [ubuntu-latest, windows-latest]

.github/workflows/copilot-setup-steps.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ name: 'Copilot Setup Steps'
44
# Allow testing of the setup steps from your repository's "Actions" tab.
55
on: workflow_dispatch
66

7-
# Use project-local cache to avoid stale global Berry cache on CI
8-
# where workspace packages may collide with published npm versions
9-
env:
10-
YARN_ENABLE_GLOBAL_CACHE: false
11-
127
jobs:
138
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
149
copilot-setup-steps:

.github/workflows/docsite-publish-ghpages.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ on:
77
- master
88
workflow_dispatch:
99

10-
# Use project-local cache to avoid stale global Berry cache on CI
11-
# where workspace packages may collide with published npm versions
12-
env:
13-
YARN_ENABLE_GLOBAL_CACHE: false
14-
1510
jobs:
1611
build:
1712
runs-on: ubuntu-latest

.github/workflows/pr-housekeeping.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
label:
12-
# if: ${{ github.repository_owner == 'microsoft' }}
12+
if: ${{ github.repository_owner == 'microsoft' }}
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/labeler@v6

.github/workflows/pr-vrt.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,14 @@ env:
1515
NX_PREFER_TS_NODE: true
1616
NX_VERBOSE_LOGGING: true
1717

18-
# Use project-local cache to avoid stale global Berry cache on CI
19-
# where workspace packages may collide with published npm versions
20-
YARN_ENABLE_GLOBAL_CACHE: false
21-
2218
permissions:
2319
contents: 'read'
2420
actions: 'read'
2521

2622
jobs:
2723
generate_vrt_screenshots:
28-
# if: ${{ github.repository_owner == 'microsoft' }}
29-
# runs-on: macos-14-xlarge
30-
runs-on: ubuntu-latest
24+
if: ${{ github.repository_owner == 'microsoft' }}
25+
runs-on: macos-14-xlarge
3126
name: Generate screenshots
3227
timeout-minutes: 60
3328
steps:

.github/workflows/pr-website-deploy.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ env:
1414

1515
BROWSERSLIST_IGNORE_OLD_DATA: true
1616

17-
# Use project-local cache to avoid stale global Berry cache on CI
18-
# where workspace packages may collide with published npm versions
19-
YARN_ENABLE_GLOBAL_CACHE: false
20-
2117
jobs:
2218
bundle:
2319
if: ${{ github.repository_owner == 'microsoft' }}

.github/workflows/pr.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,14 @@ env:
1717

1818
BROWSERSLIST_IGNORE_OLD_DATA: true
1919

20-
# Use project-local cache to avoid stale global Berry cache on CI
21-
# where workspace packages may collide with published npm versions
22-
YARN_ENABLE_GLOBAL_CACHE: false
23-
2420
DEPLOY_HOST: fluentuipr.z22.web.core.windows.net
2521
DEPLOY_URL: https://fluentuipr.z22.web.core.windows.net/${{ github.event.pull_request.number || github.ref_name }}
2622
DEPLOY_BASE_PATH: ${{ github.event.pull_request.number != '' && format('pull/{0}', github.event.pull_request.number) || format('heads/{0}', github.ref_name) }}
2723

2824
jobs:
2925
main:
30-
# if: ${{ github.repository_owner == 'microsoft' }}
31-
# runs-on: macos-14-xlarge
32-
runs-on: ubuntu-latest
26+
if: ${{ github.repository_owner == 'microsoft' }}
27+
runs-on: macos-14-xlarge
3328
permissions:
3429
contents: 'read'
3530
actions: 'read'
@@ -90,9 +85,8 @@ jobs:
9085
git diff-index --quiet HEAD -- || exit 1
9186
9287
react-major-versions-integration:
93-
# if: ${{ github.repository_owner == 'microsoft' }}
94-
# runs-on: macos-14-xlarge
95-
runs-on: ubuntu-latest
88+
if: ${{ github.repository_owner == 'microsoft' }}
89+
runs-on: macos-14-xlarge
9690
steps:
9791
- uses: actions/checkout@v6
9892
with:
@@ -115,8 +109,6 @@ jobs:
115109
- run: |
116110
yarn rit --react 17 --install-deps
117111
yarn rit --react 18 --install-deps
118-
env:
119-
YARN_ENABLE_IMMUTABLE_INSTALLS: false
120112
121113
- name: Verify Cypress installs from RIT temp workspaces (React 17 -> v13, React 18 -> v14)
122114
run: |
@@ -142,7 +134,7 @@ jobs:
142134
FLUENT_JEST_WORKER=2 yarn nx affected -t test-rit--17--type-check,test-rit--18--type-check,test-rit--17--test,test-rit--18--test --exclude='react-19-tests-v9'
143135
144136
e2e:
145-
# if: ${{ github.repository_owner == 'microsoft' }}
137+
if: ${{ github.repository_owner == 'microsoft' }}
146138
# TODO: switch to macos once problematic tests are fixed
147139
# https://github.com/microsoft/fluentui/issues/33173
148140
# https://github.com/microsoft/fluentui/issues/33172

0 commit comments

Comments
 (0)