Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
INSTALL_RUN_RUSH_LOCKFILE_PATH: ${{ github.workspace }}/common/config/validation/rush-package-lock.json
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions common/config/azure-pipelines/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
displayName: 'Deploy ${{ site }}'
workingDirectory: 'websites/${{ site }}'
env:
INSTALL_RUN_RUSH_LOCKFILE_PATH: $(Build.SourcesDirectory)/common/config/validation/rush-package-lock.json
TARGET: prod
GIT_USER: rushbot
GIT_PASS: $(GIT_PASS)
5 changes: 5 additions & 0 deletions common/config/azure-pipelines/templates/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ steps:
displayName: 'git config name'
- script: 'node common/scripts/install-run-rush.js change --verify'
displayName: 'Verify Change Logs'
env:
INSTALL_RUN_RUSH_LOCKFILE_PATH: $(Build.SourcesDirectory)/common/config/validation/rush-package-lock.json
- script: 'node common/scripts/install-run-rush.js install'
displayName: 'Rush Install'
env:
INSTALL_RUN_RUSH_LOCKFILE_PATH: $(Build.SourcesDirectory)/common/config/validation/rush-package-lock.json
- script: 'node common/scripts/install-run-rush.js build --verbose'
displayName: 'Rush Build'
env:
INSTALL_RUN_RUSH_LOCKFILE_PATH: $(Build.SourcesDirectory)/common/config/validation/rush-package-lock.json
# Prevent time-based browserslist update warning
# See https://github.com/microsoft/rushstack/issues/2981
BROWSERSLIST_IGNORE_OLD_DATA: 1
6 changes: 3 additions & 3 deletions common/config/rush/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
# for example if the machine loses power. A safer practice is to pass the token via an
# environment variable, which can be referenced from .npmrc using ${} expansion. For example:
#
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
# //packagefeedproxy.microsoft.io/npm/:_authToken=${NPM_AUTH_TOKEN}
#

# Explicitly specify the NPM registry that "rush install" and "rush update" will use by default:
registry=https://registry.npmjs.org/
registry=https://packagefeedproxy.microsoft.io/npm/

# Optionally provide an authentication token for the above registry URL (if it is a private registry):
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
# //packagefeedproxy.microsoft.io/npm/:_authToken=${NPM_AUTH_TOKEN}

# Change this to "true" if your registry requires authentication for read-only operations:
always-auth=false
6 changes: 3 additions & 3 deletions common/config/rush/.npmrc-publish
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
# for example if the machine loses power. A safer practice is to pass the token via an
# environment variable, which can be referenced from .npmrc using ${} expansion. For example:
#
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
# //packagefeedproxy.microsoft.io/npm/:_authToken=${NPM_AUTH_TOKEN}
#

# Explicitly specify the NPM registry that "rush publish" will use by default:
registry=https://registry.npmjs.org/
registry=https://packagefeedproxy.microsoft.io/npm/

# Provide an authentication token for the above registry URL:
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
# //packagefeedproxy.microsoft.io/npm/:_authToken=${NPM_AUTH_TOKEN}
Loading
Loading