Skip to content

Commit

Permalink
Update to node20 and dependencies bump
Browse files Browse the repository at this point in the history
Signed-off-by: divyansh42 <diagrawa@redhat.com>
  • Loading branch information
divyansh42 committed Mar 16, 2024
1 parent 05af097 commit 36f5ce7
Show file tree
Hide file tree
Showing 12 changed files with 2,497 additions and 1,422 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ on: [ push, pull_request, workflow_dispatch ]
jobs:
lint:
name: Run ESLint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

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

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

- name: Install
run: npm ci
Expand All @@ -31,11 +31,11 @@ jobs:

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

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
# Checkout oc installer action github repository
- name: Checkout oc-installer action
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install
uses: ./
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:
jobs:
markdown-link-check:
name: Check links in markdown
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: true
14 changes: 7 additions & 7 deletions .github/workflows/security_scan.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Vulnerability Scan with CRDA
on:
push:
# push:
workflow_dispatch:
pull_request_target:
types: [ assigned, opened, synchronize, reopened, labeled, edited ]
schedule:
- cron: '0 0 * * *' # every day at midnight
# pull_request_target:
# types: [ assigned, opened, synchronize, reopened, labeled, edited ]
# schedule:
# - cron: '0 0 * * *' # every day at midnight

jobs:
crda-scan:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Scan project vulnerability with CRDA
steps:

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

- name: Setup Node
uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ inputs:
default: 'latest'
required: true
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
4 changes: 3 additions & 1 deletion 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.

2 changes: 1 addition & 1 deletion dist/sourcemap-register.js

Large diffs are not rendered by default.

0 comments on commit 36f5ce7

Please sign in to comment.