bump setup-node@v1 -> setup-node@v2

This commit is contained in:
Kevin Schoonover 2022-03-27 20:02:28 -07:00
parent 531c586886
commit 43e815f2eb

View File

@ -14,7 +14,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v2
with: with:
cache: ${{ !env.ACT && 'npm' || '' }} cache: ${{ !env.ACT && 'npm' || '' }}
node-version: "16.x" node-version: "16.x"
@ -28,7 +28,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v2
with: with:
cache: ${{ !env.ACT && 'npm' || '' }} cache: ${{ !env.ACT && 'npm' || '' }}
node-version: "16.x" node-version: "16.x"
@ -44,7 +44,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v2
with: with:
cache: ${{ !env.ACT && 'npm' || '' }} cache: ${{ !env.ACT && 'npm' || '' }}
node-version: "16.x" node-version: "16.x"
@ -62,7 +62,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v2
with: with:
cache: ${{ !env.ACT && 'npm' || '' }} cache: ${{ !env.ACT && 'npm' || '' }}
node-version: "16.x" node-version: "16.x"
@ -80,7 +80,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v2
with: with:
cache: ${{ !env.ACT && 'npm' || '' }} cache: ${{ !env.ACT && 'npm' || '' }}
node-version: "16.x" node-version: "16.x"