Skip to content

Commit

Permalink
update npm modules (superset of PR #9 and #10 from dependabot) and wo…
Browse files Browse the repository at this point in the history
…rkflow files to specify node version
  • Loading branch information
hkong-mitre committed Aug 2, 2023
1 parent 62a8a3a commit 93fc315
Show file tree
Hide file tree
Showing 8 changed files with 1,174 additions and 5,422 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/delta-yesterday.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node to specific version
uses: actions/setup-node@v3
with:
node-version: 18
- name: Get utility version
id: version
run: node ./.github/workflows/dist/index.js --version
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node to specific version
uses: actions/setup-node@v3
with:
node-version: 18
- name: Download artifact from baseline workflow
uses: dawidd6/action-download-artifact@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node to specific version
uses: actions/setup-node@v3
with:
node-version: 18
- name: Update CVEs
run: |
export TEMP_TIMESTAMP=$(date '+%Y-%m-%d_%H%M_UTC')
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a set of utilities for maintaining CVE records on GitHub. It is written

## Setup for Developing and Running CVE Utils on a Local or VM Development Machine

You will need to have NodeJS 16.x to develop and/or run this project on a local or VM machine. The easiest way to do this is to use [nvm](https://github.com/nvm-sh/nvm). Then
You will need to have NodeJS 18.16+ to develop and/or run this project on a local or VM machine. The easiest way to do this is to use [nvm](https://github.com/nvm-sh/nvm). Then

1. set up tokens/secrets/environment variables by making a `.env` file in the root directory.
- See `.env-EXAMPLE` for an example of what to include
Expand Down
Loading

0 comments on commit 93fc315

Please sign in to comment.