Skip to content

Commit

Permalink
Update to node20 and dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: divyansh42 <[email protected]>
  • Loading branch information
divyansh42 committed Mar 23, 2024
1 parent 3ac4939 commit 6e37e68
Show file tree
Hide file tree
Showing 9 changed files with 683 additions and 4,739 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ on:
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 @@ -36,11 +36,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
16 changes: 8 additions & 8 deletions .github/workflows/security_scan.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
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
with:
node-version: '16'
node-version: '20'

- name: Install CRDA
uses: redhat-actions/openshift-tools-installer@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
jobs:
chart-verifier:
name: Chart Verifier
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
CHART_URI: https://github.com/redhat-actions/openshift-actions-runner-chart/blob/release-chart/packages/actions-runner-1.1.tgz?raw=true
VERIFY_ARGS: --chart-set githubOwner=${{ github.repository_owner }} --chart-set githubRepository=chart-verifier --chart-set githubPat=${{ secrets.REPO_TOKEN }}

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

- uses: redhat-actions/oc-login@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ outputs:
description: Number of checks failed.

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.

Loading

0 comments on commit 6e37e68

Please sign in to comment.