Skip to content

Commit 1bcb66b

Browse files
authored
chore(deps): Upgrade transitive dependencies (cdk8s-team#465)
1 parent 28d660f commit 1bcb66b

File tree

3 files changed

+962
-23
lines changed

3 files changed

+962
-23
lines changed

.github/workflows/dependencies.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: dependencies
22
on:
33
schedule:
44
- cron: 0 8 * * *
5-
workflow_dispatch: {}
5+
workflow_dispatch: {}
66
jobs:
77
upgrade:
88
runs-on: ubuntu-latest
@@ -13,19 +13,24 @@ jobs:
1313
uses: actions/setup-node@v1
1414
with:
1515
node-version: 10.17.0
16-
- name: Install Tools
16+
- name: Install
1717
run: |-
18-
npm -g install lerna npm-check-updates@^9.0.0
18+
yarn install --frozen-lockfile
1919
- name: List Mono-Repo Packages
2020
id: list-packages
2121
# These need to be ignored from the `ncu` runs since local dependencies
2222
# need to remain on 0.0.0
2323
run: |-
24+
25+
export PATH=./node_modules/.bin:${PATH}
26+
2427
echo -n "::set-output name=list::"
2528
node -p "$(lerna ls --all --json 2>/dev/null).map(item => item.name).join(',')"
2629
- name: Upgrade package.json files
2730
run: |-
2831
32+
export PATH=./node_modules/.bin:${PATH}
33+
2934
# We special-case typescript because it's not semantically versionned
3035
# and should remain on the same minor.
3136
# https://github.com/microsoft/TypeScript/issues/14116
@@ -46,8 +51,7 @@ jobs:
4651
lerna exec --parallel ncu -- --upgrade --reject='constructs,projen,typescript,${{ steps.list-packages.outputs.list }}' --target=minor
4752
4853
- name: Upgrade lock file
49-
# This will create a brand new `yarn.lock` file (this is more efficient than `yarn install && yarn upgrade`)
50-
run: yarn install --force
54+
run: yarn install && yarn upgrade
5155
- name: Create Pull Request
5256
uses: peter-evans/create-pull-request@v3
5357
with:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"jsii-release": "^0.2.3",
3636
"lerna": "^3.22.1",
3737
"semver": "7.3.2",
38-
"standard-version": "^9.0.0"
38+
"standard-version": "^9.0.0",
39+
"npm-check-updates": "10.2.1"
3940
},
4041
"jest": {
4142
"clearMocks": true,

0 commit comments

Comments
 (0)