Skip to content

Commit

Permalink
Upgrade deprecated Github action steps (#1836)
Browse files Browse the repository at this point in the history
checkout@v2 and setup-node@v1 were deprecated as they run on Node.js
v12.
  • Loading branch information
JoshMock authored Apr 4, 2023
1 parent 996f818 commit 398a8fd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]

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

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

Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
# node-version: [12.x, 14.x, 16.x]

# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

# - name: Configure sysctl limits
# run: |
Expand All @@ -60,7 +60,7 @@ jobs:
# stack-version: 8.0.0-SNAPSHOT

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

Expand All @@ -77,7 +77,7 @@ jobs:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

# - name: Configure sysctl limits
# run: |
Expand All @@ -92,7 +92,7 @@ jobs:
# stack-version: 8.0.0-SNAPSHOT

# - name: Use Node.js 14.x
# uses: actions/setup-node@v1
# uses: actions/setup-node@v3
# with:
# node-version: 14.x

Expand Down Expand Up @@ -120,10 +120,10 @@ jobs:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

# - name: Use Node.js 14.x
# uses: actions/setup-node@v1
# uses: actions/setup-node@v3
# with:
# node-version: 14.x

Expand All @@ -145,10 +145,10 @@ jobs:
# node-version: [14.x]

# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

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

Expand Down Expand Up @@ -179,10 +179,10 @@ jobs:
node-version: [16.x]

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

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

Expand Down

0 comments on commit 398a8fd

Please sign in to comment.