Skip to content

Commit

Permalink
chore: pin version of node in custom workflows (#21)
Browse files Browse the repository at this point in the history
Signed-off-by: team-tf-cdk <github-team-tf-cdk@hashicorp.com>
Co-authored-by: team-tf-cdk <github-team-tf-cdk@hashicorp.com>
  • Loading branch information
xiehan and team-tf-cdk committed Nov 1, 2023
1 parent 73eadb6 commit a47abc1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/upgrade-cdktf.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/upgrade-node.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions projenrc/upgrade-cdktf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ export class UpgradeCDKTF {
name: "Checkout",
uses: "actions/checkout@v3",
},
{
name: "Setup Node.js",
uses: "actions/setup-node@v3",
with: {
"node-version": project.minNodeVersion,
},
},
{
name: "Install",
run: "yarn install",
Expand Down
7 changes: 7 additions & 0 deletions projenrc/upgrade-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ export class UpgradeNode {
name: "Checkout",
uses: "actions/checkout@v3",
},
{
name: "Setup Node.js",
uses: "actions/setup-node@v3",
with: {
"node-version": project.minNodeVersion,
},
},
{
name: "Install",
run: "yarn install",
Expand Down

0 comments on commit a47abc1

Please sign in to comment.