Skip to content

Commit

Permalink
Update actions workflows to node v20 (#783)
Browse files Browse the repository at this point in the history
- node v16 actions are deprecated (since nodev16 is end-of-life)
  • Loading branch information
irahopkinson authored Feb 28, 2024
1 parent af9d68c commit e190adf
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:

steps:
- name: Checkout git repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet_version }}

- name: Read package.json
id: package_json
uses: zoexx/[email protected].4
uses: zoexx/[email protected].6
with:
file_path: 'package.json'

- name: Install Node and NPM
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ fromJson(steps.package_json.outputs.volta).node }}
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:

steps:
- name: Checkout git repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Read package.json
id: package_json
uses: zoexx/[email protected].4
uses: zoexx/[email protected].6
with:
file_path: 'package.json'

- name: Install Node and NPM
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ fromJson(steps.package_json.outputs.volta).node }}
cache: npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:

steps:
- name: Checkout git repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet_version }}

- name: Read package.json
id: package_json
uses: zoexx/[email protected].4
uses: zoexx/[email protected].6
with:
file_path: 'package.json'

- name: Install Node and NPM
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ fromJson(steps.package_json.outputs.volta).node }}
cache: npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet_version }}

- name: Read package.json
id: package_json
uses: zoexx/[email protected].4
uses: zoexx/[email protected].6
with:
file_path: 'package.json'

- name: Install Node.js and NPM
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ fromJson(steps.package_json.outputs.volta).node }}
cache: npm
Expand Down

0 comments on commit e190adf

Please sign in to comment.