Skip to content

Commit

Permalink
upgrade to github action cache v3 to handle node 16 support instead o…
Browse files Browse the repository at this point in the history
…f node 12 (#1951)
  • Loading branch information
jdeniau committed Aug 3, 2023
1 parent ab69aaa commit c41e7fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -34,12 +34,12 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.OS }}-node-
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.dts
key: ${{ runner.OS }}-dts-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -56,7 +56,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -76,7 +76,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -97,7 +97,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit c41e7fb

Please sign in to comment.