-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Yarn upgrade workflow is failing (#12910)
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].4 | ||
with: | ||
node-version: 10 | ||
|
||
|
@@ -55,12 +55,15 @@ jobs: | |
lerna exec --parallel ncu -- --upgrade --filter=@types/node,@types/fs-extra --target=minor | ||
lerna exec --parallel ncu -- --upgrade --filter=typescript --target=patch | ||
lerna exec --parallel ncu -- --upgrade --reject='@types/node,@types/fs-extra,constructs,typescript,aws-sdk,${{ steps.list-packages.outputs.list }}' --target=minor | ||
# This will create a brand new `yarn.lock` file (this is more efficient than `yarn install && yarn upgrade`) | ||
- name: Run "yarn install --force" | ||
run: yarn install --force | ||
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn update" to run) | ||
- name: Run "yarn install" | ||
run: yarn install | ||
|
||
- name: Run "yarn upgrade" | ||
run: yarn upgrade | ||
|
||
- name: Make Pull Request | ||
uses: peter-evans/create-pull-request@v2 | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
# Git commit details | ||
branch: automation/yarn-upgrade | ||
|