Skip to content

Commit

Permalink
fix(build): Use current version of GitHub actions to avoid warnings
Browse files Browse the repository at this point in the history
The old action versions previously specified attempted to use Node.js
v12, which is no longer supported, and a warning is issued when
they run on v16 instead.  Update build.yml so that we use versions
of the actions that use a version of node.js that is still supported.
  • Loading branch information
cpcallen committed Sep 25, 2024
1 parent 6e6c421 commit c77e265
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -35,10 +35,10 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

Expand All @@ -52,10 +52,10 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

Expand Down

0 comments on commit c77e265

Please sign in to comment.