-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package.json, pipelines, and actions
- Loading branch information
1 parent
d85dc63
commit 0b7f59a
Showing
5 changed files
with
26 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,11 @@ jobs: | |
with: | ||
# Convert placeholder string 'default' to '', which tells the action to checkout the default ref. | ||
ref: ${{ matrix.ref == 'next' && 'typespec-next' || '' }} | ||
# Checkout all history for all branches. Required to merge origin/main. | ||
fetch-depth: 0 | ||
|
||
- name: git merge origin/main | ||
run: git -c user.name="azure-sdk" -c user.email="[email protected]" merge -Xours origin/main | ||
|
||
- name: Setup Node and run `npm ci` | ||
uses: ./.github/actions/setup-node-npm-ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
# Checkout all history for all branches. Required to merge origin/main. | ||
fetch-depth: 0 | ||
|
||
- name: git merge origin/main | ||
run: git -c user.name="azure-sdk" -c user.email="[email protected]" merge -Xours origin/main | ||
|
||
- name: Setup Node and run `npm ci` | ||
uses: ./.github/actions/setup-node-npm-ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters