Skip to content

Commit 5eb45e8

Browse files
chore(deps): use node 20 (#36)
* chore: bump actions * chore: bump node20 * chore: bump dependencies * Bump word-wrap from 1.2.3 to 1.2.4 (#34) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: regenerate package-lock.json * chore: npm run bundle * chore: bump dependencies --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent e76d347 commit 5eb45e8

12 files changed

+1252
-2852
lines changed

.github/workflows/ci-checks.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
runs-on: ubuntu-20.04
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- run: npm ci
1515
- run: npm run lint
16-
16+
1717
check-dist:
1818
name: Check Distribution
1919
runs-on: ubuntu-20.04
2020
env:
2121
BUNDLE_FILE: "dist/index.js"
2222
BUNDLE_COMMAND: "npm run bundle"
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
- name: Install
2727
run: npm ci
@@ -31,18 +31,18 @@ jobs:
3131
with:
3232
bundle_file: ${{ env.BUNDLE_FILE }}
3333
bundle_command: ${{ env.BUNDLE_COMMAND }}
34-
34+
3535
check-inputs-outputs:
3636
name: Check Input and Output enums
3737
runs-on: ubuntu-20.04
3838
env:
3939
IO_FILE: ./src/generated/inputs-outputs.ts
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242

4343
- name: Install dependencies
4444
run: npm ci
45-
45+
4646
- name: Verify Input and Output enums
4747
uses: redhat-actions/common/action-io-generator@v1
4848
with:

.github/workflows/example-v3.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
TEST_NAMESPACE: ${{ secrets.OPENSHIFT_NAMESPACE }}
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Install oc v3
2121
uses: redhat-actions/openshift-tools-installer@v1

.github/workflows/example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Log in and set context
1717
# In a real workflow, point the 'uses' to a tag.

.github/workflows/link_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Check links in markdown
1616
runs-on: ubuntu-20.04
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- uses: gaurav-nelson/github-action-markdown-link-check@v1
2020
with:
2121
use-verbose-mode: true

.github/workflows/multiplatform.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
TEST_NAMESPACE: github-actions-bot-dev
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
- name: Install oc
2727
if: "runner.os != 'Linux'"

.github/workflows/security_scan.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
name: Scan project vulnerability with CRDA
1414
steps:
1515

16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
- name: Setup Node
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: '16'
21+
node-version: '20'
2222

2323
- name: Install CRDA
2424
uses: redhat-actions/openshift-tools-installer@v1

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# oc-login Changelog
22

3+
## v1.3
4+
- Update action to run on Node20. https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
5+
36
## v1.2
47
- Update action to run on Node16. https://github.blog/changelog/2022-05-20-actions-can-now-run-in-a-node-js-16-runtime/
58

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ inputs:
3333
required: false
3434
##### Other inputs
3535
reveal_cluster_name:
36-
description: |
36+
description: |
3737
"By default, the cluster name is masked, since it can be used to derive the server URL.
3838
Set this to true to skip masking the cluster name."
3939
required: false
4040
default: "false"
4141

4242

4343
runs:
44-
using: 'node16'
44+
using: 'node20'
4545
main: 'dist/index.js'

dist/index.js

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)