diff --git a/.changes/unreleased/NOTES-20231027-085131.yaml b/.changes/unreleased/NOTES-20231027-085131.yaml new file mode 100644 index 00000000..d7e26fdd --- /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 bdc2a787..e5198d9c 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 aa46cbf3..0b060204 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 0077ecd7..9009be1c 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'