Skip to content

Commit

Permalink
chore: update GitHub actions (#285)
Browse files Browse the repository at this point in the history
I updated the `actions/xxx` versions to fix the warnings about Node
12 deprecations.
  • Loading branch information
fnesveda authored Nov 15, 2022
1 parent fe472f2 commit b20e6d2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:

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 }}
-
name: Cache Node Modules
if: ${{ matrix.node-version == 16 }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand All @@ -50,15 +50,15 @@ jobs:

steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Use Node.js 16
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
-
name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:

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 }}
-
name: Cache Node Modules
if: ${{ matrix.node-version == 16 }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand All @@ -54,15 +54,15 @@ jobs:

steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Use Node.js 16
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
-
name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand All @@ -80,15 +80,15 @@ jobs:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v3
-
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
-
name: Load Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand Down

0 comments on commit b20e6d2

Please sign in to comment.