From 1697eea2085224f6e2ee2b2e32edfeca40b75e21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 07:44:54 +0100 Subject: [PATCH 1/3] Bump nock from 13.3.4 to 13.3.6 (#363) Bumps [nock](https://github.com/nock/nock) from 13.3.4 to 13.3.6. - [Release notes](https://github.com/nock/nock/releases) - [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md) - [Commits](https://github.com/nock/nock/compare/v13.3.4...v13.3.6) --- updated-dependencies: - dependency-name: nock dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 28 +++++++--------------------- package.json | 2 +- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index bbebc06..3f2d6f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@vercel/ncc": "^0.38.0", "husky": "^8.0.3", "jest": "^29.7.0", - "nock": "^13.3.4", + "nock": "^13.3.6", "semistandard": "^17.0.0" } }, @@ -4974,12 +4974,6 @@ "node": ">=8" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -5114,14 +5108,13 @@ "dev": true }, "node_modules/nock": { - "version": "13.3.4", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.4.tgz", - "integrity": "sha512-DDpmn5oLEdCTclEqweOT4U7bEpuoifBMFUXem9sA4turDAZ5tlbrEoWqCorwXey8CaAw44mst5JOQeVNiwtkhw==", + "version": "13.3.6", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.6.tgz", + "integrity": "sha512-lT6YuktKroUFM+27mubf2uqQZVy2Jf+pfGzuh9N6VwdHlFoZqvi4zyxFTVR1w/ChPqGY6yxGehHp6C3wqCASCw==", "dev": true, "dependencies": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.21", "propagate": "^2.0.0" }, "engines": { @@ -10425,12 +10418,6 @@ "p-locate": "^4.1.0" } }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -10537,14 +10524,13 @@ "dev": true }, "nock": { - "version": "13.3.4", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.4.tgz", - "integrity": "sha512-DDpmn5oLEdCTclEqweOT4U7bEpuoifBMFUXem9sA4turDAZ5tlbrEoWqCorwXey8CaAw44mst5JOQeVNiwtkhw==", + "version": "13.3.6", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.6.tgz", + "integrity": "sha512-lT6YuktKroUFM+27mubf2uqQZVy2Jf+pfGzuh9N6VwdHlFoZqvi4zyxFTVR1w/ChPqGY6yxGehHp6C3wqCASCw==", "dev": true, "requires": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.21", "propagate": "^2.0.0" } }, diff --git a/package.json b/package.json index cab0825..1122f93 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@vercel/ncc": "^0.38.0", "husky": "^8.0.3", "jest": "^29.7.0", - "nock": "^13.3.4", + "nock": "^13.3.6", "semistandard": "^17.0.0" }, "semistandard": { From 599d3831962aa3431ae84f19b03fea842780ad4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 07:49:26 +0100 Subject: [PATCH 2/3] Bump @vercel/ncc from 0.38.0 to 0.38.1 (#365) Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.38.0 to 0.38.1. - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](https://github.com/vercel/ncc/compare/0.38.0...0.38.1) --- updated-dependencies: - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3f2d6f1..dec8ca1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@hashicorp/js-releases": "^1.7.0" }, "devDependencies": { - "@vercel/ncc": "^0.38.0", + "@vercel/ncc": "^0.38.1", "husky": "^8.0.3", "jest": "^29.7.0", "nock": "^13.3.6", @@ -1530,9 +1530,9 @@ "dev": true }, "node_modules/@vercel/ncc": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.0.tgz", - "integrity": "sha512-B4YKZMm/EqMptKSFyAq4q2SlgJe+VCmEH6Y8gf/E1pTlWbsUJpuH1ymik2Ex3aYO5mCWwV1kaSYHSQOT8+4vHA==", + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz", + "integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==", "dev": true, "bin": { "ncc": "dist/ncc/cli.js" @@ -7919,9 +7919,9 @@ "dev": true }, "@vercel/ncc": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.0.tgz", - "integrity": "sha512-B4YKZMm/EqMptKSFyAq4q2SlgJe+VCmEH6Y8gf/E1pTlWbsUJpuH1ymik2Ex3aYO5mCWwV1kaSYHSQOT8+4vHA==", + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz", + "integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index 1122f93..8558cb5 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@hashicorp/js-releases": "^1.7.0" }, "devDependencies": { - "@vercel/ncc": "^0.38.0", + "@vercel/ncc": "^0.38.1", "husky": "^8.0.3", "jest": "^29.7.0", "nock": "^13.3.6", From 9507e1d5bbf253b04708c0852632f4097ded796d Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 27 Oct 2023 08:55:58 -0400 Subject: [PATCH 3/3] feat: bump to use node20 runtime (#346) * feat: bump to use node20 runtime Signed-off-by: Rui Chen fix action refs for `actions/reusable-workflows` Signed-off-by: Rui Chen * docs: update changelog Signed-off-by: Rui Chen * workflows: update `actions/reusable-workflows` to use node20 Signed-off-by: Rui Chen * chore: update dist file * clean up PR for merge * add node version * update dist * switch changelog --------- Signed-off-by: Rui Chen Co-authored-by: Austin Valle --- .changes/unreleased/NOTES-20231027-085131.yaml | 5 +++++ .github/workflows/continuous-integration.yml | 7 +++++++ .github/workflows/release.yml | 6 +++--- action.yml | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .changes/unreleased/NOTES-20231027-085131.yaml diff --git a/.changes/unreleased/NOTES-20231027-085131.yaml b/.changes/unreleased/NOTES-20231027-085131.yaml new file mode 100644 index 0000000..d7e26fd --- /dev/null +++ b/.changes/unreleased/NOTES-20231027-085131.yaml @@ -0,0 +1,5 @@ +kind: NOTES +body: Updated default runtime to node20 +time: 2023-10-27T08:51:31.923295-04:00 +custom: + Issue: "346" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index bdc2a78..e5198d9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -10,6 +10,13 @@ jobs: check-dist: name: Check dist/ directory uses: actions/reusable-workflows/.github/workflows/check-dist.yml@a8533f184b279cfc1b2dd6a96ed2f097ccf81189 + with: + node-version: 20.x + node-caching: npm + test: name: Test uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@a8533f184b279cfc1b2dd6a96ed2f097ccf81189 + with: + node-version: 20.x + node-caching: npm diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa46cbf..0b06020 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,7 +79,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 with: - node-version: 18 + node-version: 20 - name: Update package version run: npm version "${{ inputs.versionNumber }}" --git-tag-version false - name: Git push @@ -109,9 +109,9 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "${{ env.CI_COMMIT_EMAIL }}" - + git tag "${{ inputs.versionNumber }}" - git tag -f "${{ needs.major-version.outputs.version }}" + git tag -f "${{ needs.major-version.outputs.version }}" git push "https://${{ env.CI_COMMIT_AUTHOR }}:${{ secrets.TF_DEVEX_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" "${{ inputs.versionNumber }}" git push "https://${{ env.CI_COMMIT_AUTHOR }}:${{ secrets.TF_DEVEX_COMMIT_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" -f "${{ needs.major-version.outputs.version }}" diff --git a/action.yml b/action.yml index 0077ecd..9009be1 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,7 @@ inputs: default: 'true' required: false runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: icon: 'terminal'