Skip to content

Commit

Permalink
chore(deps): use node 20 (#36)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
sepulvedablanco and dependabot[bot] authored Mar 16, 2024
1 parent e76d347 commit 5eb45e8
Show file tree
Hide file tree
Showing 12 changed files with 1,252 additions and 2,852 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: npm ci
- run: npm run lint

check-dist:
name: Check Distribution
runs-on: ubuntu-20.04
env:
BUNDLE_FILE: "dist/index.js"
BUNDLE_COMMAND: "npm run bundle"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install
run: npm ci
Expand All @@ -31,18 +31,18 @@ jobs:
with:
bundle_file: ${{ env.BUNDLE_FILE }}
bundle_command: ${{ env.BUNDLE_COMMAND }}

check-inputs-outputs:
name: Check Input and Output enums
runs-on: ubuntu-20.04
env:
IO_FILE: ./src/generated/inputs-outputs.ts
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Verify Input and Output enums
uses: redhat-actions/common/action-io-generator@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
TEST_NAMESPACE: ${{ secrets.OPENSHIFT_NAMESPACE }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install oc v3
uses: redhat-actions/openshift-tools-installer@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Log in and set context
# In a real workflow, point the 'uses' to a tag.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Check links in markdown
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: true
2 changes: 1 addition & 1 deletion .github/workflows/multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
TEST_NAMESPACE: github-actions-bot-dev

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install oc
if: "runner.os != 'Linux'"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
name: Scan project vulnerability with CRDA
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'

- name: Install CRDA
uses: redhat-actions/openshift-tools-installer@v1
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# oc-login Changelog

## v1.3
- Update action to run on Node20. https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20

## v1.2
- Update action to run on Node16. https://github.blog/changelog/2022-05-20-actions-can-now-run-in-a-node-js-16-runtime/

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ inputs:
required: false
##### Other inputs
reveal_cluster_name:
description: |
description: |
"By default, the cluster name is masked, since it can be used to derive the server URL.
Set this to true to skip masking the cluster name."
required: false
default: "false"


runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
6 changes: 4 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 5eb45e8

Please sign in to comment.